|
From: | Adam Porter |
Subject: | Re: [O] Count words under subtrees |
Date: | Wed, 28 Sep 2016 18:05:13 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
You might find this useful as well: #+BEGIN_SRC elisp (defun count-words-in-subtree-or-region () (interactive) (call-interactively (if (region-active-p) 'count-words-region 'count-words-in-subtree))) #+END_SRC I bound that to M-= in org-mode to replace the default count-words, so now one command does both. :)
[Prev in Thread] | Current Thread | [Next in Thread] |