Commit 66ae4cad authored by Paul Eggert's avatar Paul Eggert

Minor text-quoting-style fixes

* lisp/cus-edit.el (custom-buffer-create-internal):
* lisp/recentf.el (recentf-edit-list):
Follow text-quoting-style preference when quoting in UI strings.
* src/doc.c (Fsubstitute_command_keys): Don’t say that curved
quotes are substituted for, as this is no longer true.
parent 2791580f
......@@ -1617,7 +1617,9 @@ Otherwise use brackets."
;; Insert verbose help at the top of the custom buffer.
(when custom-buffer-verbose-help
(unless init-file
(widget-insert "Custom settings cannot be saved; maybe you started Emacs with `-q'.\n"))
(widget-insert
(format-message
"Custom settings cannot be saved; maybe you started Emacs with `-q'.\n")))
(widget-insert "For help using this buffer, see ")
(widget-create 'custom-manual
:tag "Easy Customization"
......
......@@ -1124,8 +1124,9 @@ IGNORE arguments."
(recentf-dialog (format "*%s - Edit list*" recentf-menu-title)
(set (make-local-variable 'recentf-edit-list) nil)
(widget-insert
"Click on OK to delete selected files from the recent list.
Click on Cancel or type `q' to cancel.\n")
(format-message
"Click on OK to delete selected files from the recent list.
Click on Cancel or type `q' to cancel.\n"))
;; Insert the list of files as checkboxes
(dolist (item recentf-list)
(widget-create 'checkbox
......
......@@ -714,13 +714,13 @@ summary).
Each substring of the form \\=\\<MAPVAR> specifies the use of MAPVAR
as the keymap for future \\=\\[COMMAND] substrings.
Each \\=‘ and \\=` is replaced by left quote, and each \\=’ and \\='
Each grave accent \\=` is replaced by left quote, and each apostrophe \\='
is replaced by right quote. Left and right quote characters are
specified by `text-quoting-style'.
\\=\\= quotes the following character and is discarded; thus,
\\=\\=\\=\\= puts \\=\\= into the output, \\=\\=\\=\\[ puts \\=\\[ into the output, and
\\=\\=\\=` puts \\=` into the output.
\\=\\= quotes the following character and is discarded; thus, \\=\\=\\=\\= puts \\=\\=
into the output, \\=\\=\\=\\[ puts \\=\\[ into the output, and \\=\\=\\=` puts \\=` into the
output.
Return the original STRING if no substitutions are made.
Otherwise, return a new string. */)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment