emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] speed-keys access tweak


From: Michael Ax
Subject: [O] speed-keys access tweak
Date: Fri, 12 Jan 2018 17:53:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

With the (bolp) check snipped, org-speed-commands
work up to the end of org-outline-regexp.


  (defun org-speed-command-activate (keys)
    (when (or (looking-at org-outline-regexp)
              (and (functionp org-use-speed-commands)
                   (funcall org-use-speed-commands)))
      (cdr (assoc keys (append org-speed-commands-user
                               org-speed-commands-default)))))

Works for me. Could this be legit --- or safer?

Thanks. m


reply via email to

[Prev in Thread] Current Thread [Next in Thread]