mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-28 20:27:51 +00:00
org.el (org-speed-command-activate): Only forbid in src code blocks
* org.el (org-speed-command-activate): Only forbid in src code blocks.
This commit is contained in:
parent
ad5085517f
commit
8ac66556bb
@ -18833,10 +18833,7 @@ If not, return to the original position and throw an error."
|
||||
`org-speed-commands-default' specifies a minimal command set.
|
||||
Use `org-speed-commands-user' for further customization."
|
||||
(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"))))
|
||||
(not (org-in-block-p '("src"))))
|
||||
(and (functionp org-use-speed-commands)
|
||||
(funcall org-use-speed-commands)))
|
||||
(cdr (assoc keys (append org-speed-commands-user
|
||||
|
Loading…
Reference in New Issue
Block a user