Fix a docstring
* lisp/org.el (org-cut-special): Fix docstring. Tiny refactoring.
This commit is contained in:
parent
67129acdfe
commit
3880789ea5
|
@ -20948,11 +20948,11 @@ See the individual commands for more information."
|
||||||
|
|
||||||
(defun org-cut-special ()
|
(defun org-cut-special ()
|
||||||
"Cut region in table or cut current subtree.
|
"Cut region in table or cut current subtree.
|
||||||
Calls `org-table-copy' or `org-cut-subtree', depending on context.
|
Calls `org-table-cut-region' or `org-cut-subtree', depending on
|
||||||
See the individual commands for more information."
|
context. See the individual commands for more information."
|
||||||
(interactive)
|
(interactive)
|
||||||
(call-interactively
|
(call-interactively
|
||||||
(if (org-at-table-p) 'org-table-cut-region 'org-cut-subtree)))
|
(if (org-at-table-p) #'org-table-cut-region #'org-cut-subtree)))
|
||||||
|
|
||||||
(defun org-paste-special (arg)
|
(defun org-paste-special (arg)
|
||||||
"Paste rectangular region into table, or past subtree relative to level.
|
"Paste rectangular region into table, or past subtree relative to level.
|
||||||
|
|
Loading…
Reference in New Issue