aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThien-Thi Nguyen2006-06-12 07:52:05 +0000
committerThien-Thi Nguyen2006-06-12 07:52:05 +0000
commit15a8ea0ca622d10b8abc325af746c7597a707fff (patch)
treeca603c941154c93af1f67b22bf120d721b0cd91e
parent6b519504c3297595101628e823e72c91e562ab45 (diff)
downloademacs-15a8ea0ca622d10b8abc325af746c7597a707fff.tar.gz
emacs-15a8ea0ca622d10b8abc325af746c7597a707fff.zip
(hack-local-variables-confirm):
Display string value using its printed representation.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el6
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2a3aef6eb37..ad37f74b87b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-06-12 Thien-Thi Nguyen <ttn@gnu.org>
2
3 * files.el (hack-local-variables-confirm):
4 Display string value using its printed representation.
5
12006-06-11 Chong Yidong <cyd@stupidchicken.com> 62006-06-11 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * server.el (server-edit): No-op if no server buffers exist. 8 * server.el (server-edit): No-op if no server buffers exist.
diff --git a/lisp/files.el b/lisp/files.el
index b4bc8f9ffec..91f857dd2ec 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2406,7 +2406,11 @@ n -- to ignore the local variables list.")
2406 (insert " "))) 2406 (insert " ")))
2407 (princ (car elt) buf) 2407 (princ (car elt) buf)
2408 (insert " : ") 2408 (insert " : ")
2409 (princ (cdr elt) buf) 2409 (if (stringp (cdr elt))
2410 ;; Make strings with embedded whitespace easier to read.
2411 (let ((print-escape-newlines t))
2412 (prin1 (cdr elt) buf))
2413 (princ (cdr elt) buf))
2410 (insert "\n")) 2414 (insert "\n"))
2411 (setq prompt 2415 (setq prompt
2412 (format "Please type %s%s: " 2416 (format "Please type %s%s: "