Hide PROPERTIES drawers in space-doc-mode

Hide properties in space-doc-mode to allow the use of `CUSTOM_ID` tags in
documentation for correct link exporting, as discussed in #8054, #8136
and #8138. Complementary the latter two PR:s.
This commit is contained in:
nikolaiam 2017-01-10 12:50:31 +02:00 committed by syl20bnr
parent 76213f982c
commit 796fcfaa53

View file

@ -304,6 +304,10 @@ This functions is aimed to be used with `spacemacs-space-doc-modificators'."
"\\([ \t]*\\#\\+TITLE\\:\[ \t]*\\)"
;; Hide CAPTION logo meta line.
"\\(\n.*\\#\\+CAPTION\\:.*\\)"
;; Hide PROPERTIES lines.
"\\(\n.*\\:PROPERTIES\\:.*\\)"
"\\(\n.*\\:CUSTOM_ID\\:.*\\)"
"\\(\n.*\\:END\\:.*\\)"
;; Hide TOC-ORG tag and spaces before it.
;; Use modified `toc-org-toc-org-regexp' because
;; the original one matches whole string.