Modify syntax entry for < and > globally

* lisp/org.el (org-mode): Let < and > be recognized as opening
and ending characters.

These characters are typically used in timestamps where it is useful
to use C-M-f and C-M-b to manipulate them.
This commit is contained in:
Bastien 2018-04-26 11:29:30 +02:00
parent 5a0162097a
commit 886ab9c766
1 changed files with 2 additions and 0 deletions

View File

@ -5435,6 +5435,8 @@ The following commands are available:
(modify-syntax-entry ?\" "\"")
(modify-syntax-entry ?\\ "_")
(modify-syntax-entry ?~ "_")
(modify-syntax-entry ?< "(>")
(modify-syntax-entry ?> ")<")
(setq-local font-lock-unfontify-region-function 'org-unfontify-region)
;; Activate before-change-function
(setq-local org-table-may-need-update t)