aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-09-17 12:02:55 -0700
committerPaul Eggert2015-09-17 12:03:25 -0700
commitdc9e7022d5f259642a42535a4db87d2a1d05ae19 (patch)
tree3c8499bcffc0df1ea0212f53b2d752d2e639388e
parent7366f80ab82c0acd6cf1c66b7ff020cd4a77a75c (diff)
downloademacs-dc9e7022d5f259642a42535a4db87d2a1d05ae19.tar.gz
emacs-dc9e7022d5f259642a42535a4db87d2a1d05ae19.zip
Fix minor quoting problems in diagnostics
* lisp/tutorial.el (tutorial--describe-nonstandard-key): * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map): Follow text-quoting-style in diagnostic, and quote a file name.
-rw-r--r--lisp/tutorial.el2
-rw-r--r--lisp/vc/ediff-ptch.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index f8660f55f65..14f127e41a1 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -135,7 +135,7 @@ options:
135 ;; then save this value in mapsym 135 ;; then save this value in mapsym
136 (setq mapsym s))))) 136 (setq mapsym s)))))
137 (insert 137 (insert
138 (format 138 (format-message
139 "The default Emacs binding for the key %s is the command `%s'. " 139 "The default Emacs binding for the key %s is the command `%s'. "
140 (key-description key) 140 (key-description key)
141 db)) 141 db))
diff --git a/lisp/vc/ediff-ptch.el b/lisp/vc/ediff-ptch.el
index b45d533caea..b5835cb2d6e 100644
--- a/lisp/vc/ediff-ptch.el
+++ b/lisp/vc/ediff-ptch.el
@@ -333,7 +333,7 @@ program."
333 (ediff-with-current-buffer standard-output 333 (ediff-with-current-buffer standard-output
334 (fundamental-mode)) 334 (fundamental-mode))
335 (princ 335 (princ
336 (format " 336 (format-message "
337The patch file contains a context diff for 337The patch file contains a context diff for
338 %s 338 %s
339 %s 339 %s
@@ -342,7 +342,7 @@ to be patched on your system. If you know the correct file name,
342please enter it now. 342please enter it now.
343 343
344If you don't know and still would like to apply patches to 344If you don't know and still would like to apply patches to
345other files, enter /dev/null 345other files, enter `/dev/null'.
346" 346"
347 (substring (car proposed-file-names) 6) 347 (substring (car proposed-file-names) 6)
348 (substring (cdr proposed-file-names) 6)))) 348 (substring (cdr proposed-file-names) 6))))