Commit 7c1fc733 authored by Miles Bader's avatar Miles Bader
Browse files

(menu-bar-update-buffers-1): Make sure `uniquify-buffer-name-style' is bound.

parent e69738c9
2002-04-24 Miles Bader <miles@gnu.org>
* menu-bar.el (menu-bar-update-buffers-1): Make sure
`uniquify-buffer-name-style' is bound.
2002-04-23 Colin Walters <walters@verbum.org>
* replace.el (toplevel): Require `cl' while compiling.
......
......@@ -1267,7 +1267,8 @@ key (or menu-item)"))
;; (format "%%%ds %%s%%s %%s" menu-bar-update-buffers-maxbuf)
(let* ((buf (car elt))
(file
(and (null uniquify-buffer-name-style)
(and (or (not (boundp 'uniquify-buffer-name-style))
(null uniquify-buffer-name-style))
(or (buffer-file-name buf)
(buffer-local-value 'list-buffers-directory buf))))
(mod (if (buffer-modified-p buf) "*" ""))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment