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).
This commit is contained in:
Juri Linkov 2017-01-31 17:36:06 +01:00 committed by Lars Ingebrigtsen
parent a727a0303e
commit 18a3fccd89

View file

@ -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'.")