diff options
| author | Miles Bader | 2002-04-24 00:08:34 +0000 |
|---|---|---|
| committer | Miles Bader | 2002-04-24 00:08:34 +0000 |
| commit | 7c1fc733989b4b707c7c84bb6d4645548f07ef59 (patch) | |
| tree | 239b13f9a1530492533fc7a7ba44cdfd1e57ff58 | |
| parent | e69738c93947721a737ab2540ed5e47c1242e0db (diff) | |
| download | emacs-7c1fc733989b4b707c7c84bb6d4645548f07ef59.tar.gz emacs-7c1fc733989b4b707c7c84bb6d4645548f07ef59.zip | |
(menu-bar-update-buffers-1): Make sure `uniquify-buffer-name-style' is bound.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 3 |
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 @@ | |||
| 1 | 2002-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 | |||
| 1 | 2002-04-23 Colin Walters <walters@verbum.org> | 6 | 2002-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) "*" "")) |