[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 18a3fcc: Allow C-s C-w to yank ' to the search ring
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 18a3fcc: Allow C-s C-w to yank ' to the search ring in the Gnus article buffer |
Date: |
Tue, 31 Jan 2017 16:37:02 +0000 (UTC) |
branch: master
commit 18a3fccd89d04afc13ce7b4561e224874c317283
Author: Juri Linkov <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Allow C-s C-w to yank ' to the search ring in the Gnus article buffer
* lisp/gnus/gnus-art.el (gnus-article-mode-syntax-table): Make
M-. in article buffers work for `foo' strings, and still allow
C-s C-w to yank ' to the search ring (bug#22248).
---
lisp/gnus/gnus-art.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 43e1231..a4ff840 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1713,9 +1713,10 @@ regexp."
;; (modify-syntax-entry ?- "w" table)
(modify-syntax-entry ?> ")<" table)
(modify-syntax-entry ?< "(>" table)
- ;; make M-. in article buffers work for `foo' strings
- (modify-syntax-entry ?' " " table)
- (modify-syntax-entry ?` " " table)
+ ;; make M-. in article buffers work for `foo' strings,
+ ;; and still allow C-s C-w to yank ' to the search ring
+ (modify-syntax-entry ?' "'" table)
+ (modify-syntax-entry ?` "'" table)
table)
"Syntax table used in article mode buffers.
Initialized from `text-mode-syntax-table'.")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 18a3fcc: Allow C-s C-w to yank ' to the search ring in the Gnus article buffer,
Lars Ingebrigtsen <=