mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-16 03:46:27 +00:00
Revert "org.el (org-speed-command-activate): Don't activate speed commands within blocks"
This reverts commit 7c8e854d9c
.
This commit is contained in:
parent
96aa12eebc
commit
f9d041f9bf
|
@ -18832,11 +18832,7 @@ If not, return to the original position and throw an error."
|
||||||
"Hook for activating single-letter speed commands.
|
"Hook for activating single-letter speed commands.
|
||||||
`org-speed-commands-default' specifies a minimal command set.
|
`org-speed-commands-default' specifies a minimal command set.
|
||||||
Use `org-speed-commands-user' for further customization."
|
Use `org-speed-commands-user' for further customization."
|
||||||
(when (or (and (bolp) (looking-at org-outline-regexp)
|
(when (or (and (bolp) (looking-at org-outline-regexp))
|
||||||
;; FIXME org-speed-commands-forbidden-blocks?
|
|
||||||
(not (org-in-block-p
|
|
||||||
'("src" "example" "verse" "html"
|
|
||||||
"latex" "ascii" "beamer" "odt"))))
|
|
||||||
(and (functionp org-use-speed-commands)
|
(and (functionp org-use-speed-commands)
|
||||||
(funcall org-use-speed-commands)))
|
(funcall org-use-speed-commands)))
|
||||||
(cdr (assoc keys (append org-speed-commands-user
|
(cdr (assoc keys (append org-speed-commands-user
|
||||||
|
|
Loading…
Reference in a new issue