diff options
| author | Paul Eggert | 2015-09-05 11:28:54 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-05 11:29:27 -0700 |
| commit | b8147621ec91e1ce8e34d55141bb75921dbfc080 (patch) | |
| tree | e86dc606459c867ccdced0f0ae82446a0a4814e6 | |
| parent | b6b2554f8b9fefe9242b5dbd34211b3ff44a5a65 (diff) | |
| download | emacs-b8147621ec91e1ce8e34d55141bb75921dbfc080.tar.gz emacs-b8147621ec91e1ce8e34d55141bb75921dbfc080.zip | |
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.
| -rw-r--r-- | lisp/help.el | 2 |
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 | |||
| 1353 | (defun help--docstring-quote (string) | 1353 | (defun help--docstring-quote (string) |
| 1354 | "Return a doc string that represents STRING. | 1354 | "Return a doc string that represents STRING. |
| 1355 | The result, when formatted by ‘substitute-command-keys’, should equal STRING." | 1355 | The result, when formatted by ‘substitute-command-keys’, should equal STRING." |
| 1356 | (replace-regexp-in-string "['\\`]" "\\\\=\\&" string)) | 1356 | (replace-regexp-in-string "['\\`‘’]" "\\\\=\\&" string)) |
| 1357 | 1357 | ||
| 1358 | ;; The following functions used to be in help-fns.el, which is not preloaded. | 1358 | ;; The following functions used to be in help-fns.el, which is not preloaded. |
| 1359 | ;; But for various reasons, they are more widely needed, so they were | 1359 | ;; But for various reasons, they are more widely needed, so they were |