[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b814762: text-quoting-style for usage of fn names
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master b814762: text-quoting-style for usage of fn names with ‘’ |
Date: |
Sat, 05 Sep 2015 18:29:31 +0000 |
branch: master
commit b8147621ec91e1ce8e34d55141bb75921dbfc080
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
text-quoting-style for usage of fn names with ‘’
* lisp/help.el (help--docstring-quote): Don’t assume
text-quoting-style is ‘curve’ when generating usage strings for
functions whose names contain curved quotes.
---
lisp/help.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/help.el b/lisp/help.el
index 2fcb52e..d9b0e18 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1353,7 +1353,7 @@ the help window if the current value of the user option
(defun help--docstring-quote (string)
"Return a doc string that represents STRING.
The result, when formatted by ‘substitute-command-keys’, should equal STRING."
- (replace-regexp-in-string "['\\`]" "\\\\=\\&" string))
+ (replace-regexp-in-string "['\\`‘’]" "\\\\=\\&" string))
;; The following functions used to be in help-fns.el, which is not preloaded.
;; But for various reasons, they are more widely needed, so they were
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b814762: text-quoting-style for usage of fn names with ‘’,
Paul Eggert <=