Revert "org.el (org-speed-command-activate): Only forbid in src code blocks"

This reverts commit 8ac66556bb.
This commit is contained in:
Bastien Guerry 2013-02-28 09:35:04 +01:00
parent 11cd659553
commit 96aa12eebc
1 changed files with 4 additions and 1 deletions

View File

@ -18833,7 +18833,10 @@ 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)
(not (org-in-block-p '("src"))))
;; 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)
(funcall org-use-speed-commands)))
(cdr (assoc keys (append org-speed-commands-user