diff options
author | Juri Linkov <juri@linkov.net> | 2018-04-28 23:38:56 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2018-04-28 23:38:56 +0300 |
commit | bcee1600384e3ef223a90e7e4eac0e1e25f473b7 (patch) | |
tree | 3b4278b1ec9f10527115e2cec98c5f964f52a2cd /lisp/vc/add-log.el | |
parent | f4eeb0f5ae448db0f064f6305ab0bc0c3bae071a (diff) | |
download | emacs-bcee1600384e3ef223a90e7e4eac0e1e25f473b7.tar.gz emacs-bcee1600384e3ef223a90e7e4eac0e1e25f473b7.tar.bz2 emacs-bcee1600384e3ef223a90e7e4eac0e1e25f473b7.zip |
* lisp/vc/add-log.el (change-log-mode-syntax-table): New defvar
that redefines syntax of quotes to "expression quote or prefix operator".
(Bug#31231)
Diffstat (limited to 'lisp/vc/add-log.el')
-rw-r--r-- | lisp/vc/add-log.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el index 4c64ae1f60b..4d69aac454c 100644 --- a/lisp/vc/add-log.el +++ b/lisp/vc/add-log.el @@ -1024,6 +1024,13 @@ the change log file in another window." (defvar smerge-resolve-function) (defvar copyright-at-end-flag) +(defvar change-log-mode-syntax-table + (let ((table (make-syntax-table))) + (modify-syntax-entry ?` "' " table) + (modify-syntax-entry ?' "' " table) + table) + "Syntax table used while in `change-log-mode'.") + ;;;###autoload (define-derived-mode change-log-mode text-mode "Change Log" "Major mode for editing change logs; like Indented Text mode. |