Display string value using its printed representation.
+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.
(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: "