epresent
epresent copied to clipboard
org_re
Line: 411
;; hide tags
(when epresent-hide-tags
(goto-char (point-min))
(while (re-search-forward
(org-re "^\\*+.*?\\([ \t]+:[[:alnum:]_@#%:]+:\\)[ \r\n]")
nil t)
(push (make-overlay (match-beginning 1) (match-end 1)) epresent-overlays)
(overlay-put (car epresent-overlays) 'invisible 'epresent-hide)))
--> causes epresent.el: Warning: ‘org-re’ is an obsolete macro (as of 9.0); you can safely remove it.
--> however on removing
(org-re "^\\*+.*?\\([ \t]+:[[:alnum:]_@#%:]+:\\)[ \r\n]")
--> causes all the bullets are missing
@dodona2 The deprecation message is certainly unclear – you can remove the call around the regeix. The regex is still necessary, but Emacs now supports that regex style directly. It previously (Emacs 23?) needed to have the [:alnum:] expanded before Emacs could parse it.