Browse Source

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

* org.el (org-speed-command-activate): Only forbid in src code
blocks.
Bastien Guerry 12 years ago
parent
commit
8ac66556bb
1 changed files with 1 additions and 4 deletions
  1. 1 4
      lisp/org.el

+ 1 - 4
lisp/org.el

@@ -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