Mercurial > emacs
comparison lisp/textmodes/org.el @ 69240:cdd3f2bbf2f8
(org-paste-subtree): Removed forgotten (debug)
form.
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Thu, 02 Mar 2006 15:44:23 +0000 |
parents | e80276821f75 |
children | 7aecee7bf0d9 5754737d1e04 |
comparison
equal
deleted
inserted
replaced
69239:9f445a141b51 | 69240:cdd3f2bbf2f8 |
---|---|
2961 | 2961 |
2962 If you want to insert the tree as is, just use \\[yank]. | 2962 If you want to insert the tree as is, just use \\[yank]. |
2963 | 2963 |
2964 If optional TREE is given, use this text instead of the kill ring." | 2964 If optional TREE is given, use this text instead of the kill ring." |
2965 (interactive "P") | 2965 (interactive "P") |
2966 (debug) | |
2967 (unless (org-kill-is-subtree-p tree) | 2966 (unless (org-kill-is-subtree-p tree) |
2968 (error | 2967 (error |
2969 (substitute-command-keys | 2968 (substitute-command-keys |
2970 "The kill is not a (set of) tree(s) - please use \\[yank] to yank anyway"))) | 2969 "The kill is not a (set of) tree(s) - please use \\[yank] to yank anyway"))) |
2971 (let* ((txt (or tree (current-kill 0))) | 2970 (let* ((txt (or tree (current-kill 0))) |