summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2018-04-26 11:29:30 +0200
committerBastien <bzg@gnu.org>2018-04-26 11:29:30 +0200
commit886ab9c7666602838028ca147e27c1949b9bd531 (patch)
tree9abcf1623952e79b1dca542c34af7dfaaa4c412f
parent5a0162097ac59c878a3814e6b84ce8f78901c44e (diff)
downloadorg-mode-886ab9c766.tar.gz
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.
-rw-r--r--lisp/org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 883e8fd..2c68b79 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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)