summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-06-15 08:49:01 (GMT)
committer Bastien Guerry <bzg@altern.org>2014-06-15 08:49:01 (GMT)
commit88036251eb09e4b756ffedcfb7d9b767d8cefec8 (patch)
tree9e7335936facef54ebc233b5c87dfce14da4e1f0
parentaf8ee5fcf2c0e2acf0e7f60b22ffc05b384ebb09 (diff)
downloadorg-mode-88036251eb09e4b756ffedcfb7d9b767d8cefec8.zip
org-mode-88036251eb09e4b756ffedcfb7d9b767d8cefec8.tar.gz
org.el (org-fontify-meta-lines-and-blocks-1): Fix handling of `org-hidden-keywords'
* org.el (org-fontify-meta-lines-and-blocks-1): Fix handling of `org-hidden-keywords'. Thanks to Leu Zhe for reporting this.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index af0a6f7..6fb0387 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5891,7 +5891,7 @@ by a #."
((member dc1 '("+title:" "+author:" "+email:" "+date:"))
(add-text-properties
beg (match-end 3)
- (if (member (intern (substring dc1 0 -1)) org-hidden-keywords)
+ (if (member (intern (substring dc1 1 -1)) org-hidden-keywords)
'(font-lock-fontified t invisible t)
'(font-lock-fontified t face org-document-info-keyword)))
(add-text-properties