Mercurial > emacs
comparison lisp/textmodes/org.el @ 73653:ad4fe300688b
(org-copy-subtree): Use "non-nil" in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 03 Nov 2006 15:12:46 +0000 |
parents | a81e38c24e22 |
children | b4a91f7c761c |
comparison
equal
deleted
inserted
replaced
73652:497f9d6319e7 | 73653:ad4fe300688b |
---|---|
4025 (org-copy-subtree 'cut)) | 4025 (org-copy-subtree 'cut)) |
4026 | 4026 |
4027 (defun org-copy-subtree (&optional cut) | 4027 (defun org-copy-subtree (&optional cut) |
4028 "Cut the current subtree into the clipboard. | 4028 "Cut the current subtree into the clipboard. |
4029 This is a short-hand for marking the subtree and then copying it. | 4029 This is a short-hand for marking the subtree and then copying it. |
4030 If CUT is non nil, actually cut the subtree." | 4030 If CUT is non-nil, actually cut the subtree." |
4031 (interactive) | 4031 (interactive) |
4032 (let (beg end folded) | 4032 (let (beg end folded) |
4033 (org-back-to-heading) | 4033 (org-back-to-heading) |
4034 (setq beg (point)) | 4034 (setq beg (point)) |
4035 (save-match-data | 4035 (save-match-data |