aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2002-04-24 00:08:34 +0000
committerMiles Bader2002-04-24 00:08:34 +0000
commit7c1fc733989b4b707c7c84bb6d4645548f07ef59 (patch)
tree239b13f9a1530492533fc7a7ba44cdfd1e57ff58
parente69738c93947721a737ab2540ed5e47c1242e0db (diff)
downloademacs-7c1fc733989b4b707c7c84bb6d4645548f07ef59.tar.gz
emacs-7c1fc733989b4b707c7c84bb6d4645548f07ef59.zip
(menu-bar-update-buffers-1): Make sure `uniquify-buffer-name-style' is bound.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/menu-bar.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3ad90a64721..a051c4ad7bd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-04-24 Miles Bader <miles@gnu.org>
2
3 * menu-bar.el (menu-bar-update-buffers-1): Make sure
4 `uniquify-buffer-name-style' is bound.
5
12002-04-23 Colin Walters <walters@verbum.org> 62002-04-23 Colin Walters <walters@verbum.org>
2 7
3 * replace.el (toplevel): Require `cl' while compiling. 8 * replace.el (toplevel): Require `cl' while compiling.
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 959c68cc6ac..3618c8a5122 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1267,7 +1267,8 @@ key (or menu-item)"))
1267 ;; (format "%%%ds %%s%%s %%s" menu-bar-update-buffers-maxbuf) 1267 ;; (format "%%%ds %%s%%s %%s" menu-bar-update-buffers-maxbuf)
1268 (let* ((buf (car elt)) 1268 (let* ((buf (car elt))
1269 (file 1269 (file
1270 (and (null uniquify-buffer-name-style) 1270 (and (or (not (boundp 'uniquify-buffer-name-style))
1271 (null uniquify-buffer-name-style))
1271 (or (buffer-file-name buf) 1272 (or (buffer-file-name buf)
1272 (buffer-local-value 'list-buffers-directory buf)))) 1273 (buffer-local-value 'list-buffers-directory buf))))
1273 (mod (if (buffer-modified-p buf) "*" "")) 1274 (mod (if (buffer-modified-p buf) "*" ""))