[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master bcee160: * lisp/vc/add-log.el (change-log-mode-synt
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] master bcee160: * lisp/vc/add-log.el (change-log-mode-syntax-table): New defvar |
Date: |
Sat, 28 Apr 2018 16:39:08 -0400 (EDT) |
branch: master
commit bcee1600384e3ef223a90e7e4eac0e1e25f473b7
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>
* 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)
---
lisp/vc/add-log.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el
index 4c64ae1..4d69aac 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master bcee160: * lisp/vc/add-log.el (change-log-mode-syntax-table): New defvar,
Juri Linkov <=