summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Maus <dmaus@ictsoc.de>2011-03-06 19:08:42 +0100
committerDavid Maus <dmaus@ictsoc.de>2011-03-06 19:08:42 +0100
commit1a03c5f256cb8daabad83b83780b6115076ad5f5 (patch)
tree9d6c2e6efed90cbb82e4d6a9ec14ab1a161883bc
parent145d1bf7e593bdbf2f0b5b05e20d440bf10e7d71 (diff)
downloadorg-mode-1a03c5f256cb8daabad83b83780b6115076ad5f5.tar.gz
Accept keys for org-export-as-html-to-buffer' and `org-export-region-as-html'
* org-exp.el (org-export-visible): Accept keys for `org-export-as-html-to-buffer' and `org-export-region-as-html'. H and R were not in the list of allowed keys but bound to the respective function later. Missing keys reported by Samuel Wales <samologist@gmail.com>.
-rw-r--r--lisp/org-exp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 85d43c5..ae7bdcf 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -2682,7 +2682,7 @@ command."
(message "Export visible: [a]SCII [h]tml [b]rowse HTML [H/R]buffer with HTML [D]ocBook [l]atex [p]df [d]view pdf [L]atex buffer [x]OXO [ ]keep buffer")
(read-char-exclusive))
current-prefix-arg))
- (if (not (member type '(?a ?n ?u ?\C-a ?b ?\C-b ?h ?D ?x ?\ ?l ?p ?d ?L)))
+ (if (not (member type '(?a ?n ?u ?\C-a ?b ?\C-b ?h ?D ?x ?\ ?l ?p ?d ?L ?H ?R)))
(error "Invalid export key"))
(let* ((binding (cdr (assoc type
'(