aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2003-01-05 17:46:42 +0000
committerAndreas Schwab2003-01-05 17:46:42 +0000
commitee5861c8362acdab691019496924fd2d10d595bc (patch)
tree0853304638503b36f077b83fabfc526ad8a1e73a
parent139c4e546df4a6f9f389bcb4dc268bf97db33772 (diff)
downloademacs-ee5861c8362acdab691019496924fd2d10d595bc.tar.gz
emacs-ee5861c8362acdab691019496924fd2d10d595bc.zip
(Buffer-menu-buffer+size): Don't clobber buffer name.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/buff-menu.el6
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 815a1af9cf6..682e03904c2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12003-01-05 Andreas Schwab <schwab@suse.de>
2
3 * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer
4 name.
5
12003-01-05 Dave Love <fx@gnu.org> 62003-01-05 Dave Love <fx@gnu.org>
2 7
3 * language/european.el ("Latin-6", "Croatian"): New. 8 * language/european.el ("Latin-6", "Croatian"): New.
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index a49244ce60d..205a8ab7d32 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -1,6 +1,6 @@
1;;; buff-menu.el --- buffer menu main function and support functions 1;;; buff-menu.el --- buffer menu main function and support functions
2 2
3;; Copyright (C) 1985, 86, 87, 93, 94, 95, 2000, 2001, 2002 3;; Copyright (C) 1985, 86, 87, 93, 94, 95, 2000, 2001, 2002, 2003
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -529,7 +529,9 @@ For more information, see the function `buffer-menu'."
529 (- Buffer-menu-buffer+size-width 529 (- Buffer-menu-buffer+size-width
530 (max (length size) 3) 530 (max (length size) 3)
531 2)) 531 2))
532 ":")))) ; narrow ellipsis 532 ":"))) ; narrow ellipsis
533 ;; Don't put properties on (buffer-name).
534 (setq name (copy-sequence name)))
533 (add-text-properties 0 (length name) name-props name) 535 (add-text-properties 0 (length name) name-props name)
534 (add-text-properties 0 (length size) size-props size) 536 (add-text-properties 0 (length size) size-props size)
535 (concat name 537 (concat name