diff options
Diffstat (limited to 'lisp/help.el')
-rw-r--r-- | lisp/help.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/help.el b/lisp/help.el index d9b0e187f79..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,7 +1352,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." +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. |