forked from mirrors/org-mode
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:
parent
5a0162097a
commit
886ab9c766
|
@ -5435,6 +5435,8 @@ The following commands are available:
|
||||||
(modify-syntax-entry ?\" "\"")
|
(modify-syntax-entry ?\" "\"")
|
||||||
(modify-syntax-entry ?\\ "_")
|
(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)
|
(setq-local font-lock-unfontify-region-function 'org-unfontify-region)
|
||||||
;; Activate before-change-function
|
;; Activate before-change-function
|
||||||
(setq-local org-table-may-need-update t)
|
(setq-local org-table-may-need-update t)
|
||||||
|
|
Loading…
Reference in New Issue