summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlp Aker <aker@pitt.edu>2011-05-28 16:08:05 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-05-28 16:08:05 -0400
commit4ac619f07bc6d7560a04f5aa505c6ef084975d93 (patch)
treec064b3db2f820440e05fef50f263da76f15673e5
parentb4d52accc51a3caff8d6452ea7ab08fe2ce8eaae (diff)
downloademacs-4ac619f07bc6d7560a04f5aa505c6ef084975d93.tar.gz
Additional minor fix to (Bug#8539).
* lisp/buff-menu.el (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/buff-menu.el4
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9da3ecdd777..507a7bdf0ac 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -9,8 +9,9 @@
2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
- * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort):
- Use Buffer-menu-buffer-column (Bug#8539).
+ * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
+ (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
+ (Bug#8539).
2011-05-28 Chong Yidong <cyd@stupidchicken.com>
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index 6da9d908305..95f309e33b9 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -688,7 +688,9 @@ For more information, see the function `buffer-menu'."
(concat name
(propertize (make-string (- name+space-width (string-width name))
?\s)
- 'display `(space :align-to ,(+ 4 name+space-width)))
+ 'display `(space :align-to
+ ,(+ Buffer-menu-buffer-column
+ name+space-width)))
size)))
(defun Buffer-menu-sort (column)