summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/help.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 2fcb52e2e25..d9b0e187f79 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