summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorK. Handa <handa@gnu.org>2015-09-08 20:43:11 +0900
committerK. Handa <handa@gnu.org>2015-09-08 20:43:11 +0900
commit94ed5167557112fb00eeca05e62589db744206de (patch)
tree80a544f8534802dd61fbd218b97441d3419dbf6b /lisp/help.el
parent33f2e0023a5ef03db3e99ade0b93a7a1a913dbe1 (diff)
parent10e7f7de910ca816799062f33b830f7598801f0e (diff)
downloademacs-94ed5167557112fb00eeca05e62589db744206de.tar.gz
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 2fcb52e2e25..66df6b08037 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -964,12 +964,12 @@ documentation for the major and minor modes of that buffer."
(let* ((mode major-mode)
(file-name (find-lisp-object-file-name mode nil)))
(when file-name
- (princ (format-message " defined in ‘%s’"
+ (princ (format-message " defined in `%s'"
(file-name-nondirectory file-name)))
;; Make a hyperlink to the library.
(with-current-buffer standard-output
(save-excursion
- (re-search-backward (substitute-command-keys "‘\\([^‘’]+\\)’")
+ (re-search-backward (substitute-command-keys "`\\([^`']+\\)'")
nil t)
(help-xref-button 1 'help-function-def mode file-name)))))
(princ ":\n")
@@ -1041,7 +1041,7 @@ is currently activated with completion."
(let ((minor-mode (lookup-minor-mode-from-indicator indicator)))
(if minor-mode
(describe-minor-mode-from-symbol minor-mode)
- (error "Cannot find minor mode for ‘%s’" indicator))))
+ (error "Cannot find minor mode for `%s'" indicator))))
(defun lookup-minor-mode-from-indicator (indicator)
"Return a minor mode symbol from its indicator on the mode line."
@@ -1352,8 +1352,8 @@ 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))
+The result, when formatted by `substitute-command-keys', should equal 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