Pārlūkot izejas kodu

Fix a docstring

* lisp/org.el (org-copy-special): Fix docstring.  Tiny refactoring.
Nicolas Goaziou 8 gadi atpakaļ
vecāks
revīzija
038c50a721
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      lisp/org.el

+ 3 - 3
lisp/org.el

@@ -20940,11 +20940,11 @@ this numeric value."
 
 (defun org-copy-special ()
   "Copy region in table or copy current subtree.
-Calls `org-table-copy' or `org-copy-subtree', depending on context.
-See the individual commands for more information."
+Calls `org-table-copy-region' or `org-copy-subtree', depending on
+context.  See the individual commands for more information."
   (interactive)
   (call-interactively
-   (if (org-at-table-p) 'org-table-copy-region 'org-copy-subtree)))
+   (if (org-at-table-p) #'org-table-copy-region #'org-copy-subtree)))
 
 (defun org-cut-special ()
   "Cut region in table or cut current subtree.