aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong2009-10-31 20:16:50 +0000
committerChong Yidong2009-10-31 20:16:50 +0000
commitc9349f0a05aa95d3ce4d406387e479a99cd0a4bb (patch)
tree10c8c69fc3827597a74141216195d40d3087778c /lisp
parent9bd79893e2637f289767639bca9b1ecddcb8a623 (diff)
downloademacs-c9349f0a05aa95d3ce4d406387e479a99cd0a4bb.tar.gz
emacs-c9349f0a05aa95d3ce4d406387e479a99cd0a4bb.zip
* facemenu.el (list-colors-display): Don't mark buffer as
modified (Bug#3948).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/facemenu.el6
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6c0bf442ca8..6a4babdd227 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-10-31 Juri Linkov <juri@jurta.org>
2
3 * facemenu.el (list-colors-display): Don't mark buffer as
4 modified (Bug#3948).
5
12009-10-31 Chong Yidong <cyd@stupidchicken.com> 62009-10-31 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * international/mule-diag.el (list-character-sets-1): Minor 8 * international/mule-diag.el (list-character-sets-1): Minor
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 7da1c37fcbe..aedb6d355b6 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -499,7 +499,11 @@ argument BUFFER-NAME is nil, it defaults to *Colors*."
499 ;; to get the right value of window-width in list-colors-print 499 ;; to get the right value of window-width in list-colors-print
500 ;; after the buffer is displayed. 500 ;; after the buffer is displayed.
501 (add-hook 'temp-buffer-show-hook 501 (add-hook 'temp-buffer-show-hook
502 (lambda () (list-colors-print list)) nil t))))) 502 (lambda ()
503 (set-buffer-modified-p
504 (prog1 (buffer-modified-p)
505 (list-colors-print list))))
506 nil t)))))
503 507
504(defun list-colors-print (list) 508(defun list-colors-print (list)
505 (dolist (color list) 509 (dolist (color list)