Commit 15a8ea0c authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen
Browse files

(hack-local-variables-confirm):

Display string value using its printed representation.
parent 6b519504
2006-06-12 Thien-Thi Nguyen <ttn@gnu.org>
* files.el (hack-local-variables-confirm):
Display string value using its printed representation.
2006-06-11 Chong Yidong <cyd@stupidchicken.com>
* server.el (server-edit): No-op if no server buffers exist.
......
......@@ -2406,7 +2406,11 @@ n -- to ignore the local variables list.")
(insert " ")))
(princ (car elt) buf)
(insert " : ")
(princ (cdr elt) buf)
(if (stringp (cdr elt))
;; Make strings with embedded whitespace easier to read.
(let ((print-escape-newlines t))
(prin1 (cdr elt) buf))
(princ (cdr elt) buf))
(insert "\n"))
(setq prompt
(format "Please type %s%s: "
......
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