Variable: buffers-menu-show-directories
buffers-menu-show-directories is a customizable variable defined in
menu-bar.el.gz.
Value
unless-uniquify
Documentation
If non-nil, show directories in the Buffers menu for buffers that have them.
The special value unless-uniquify means that directories will be shown
unless uniquify-buffer-name-style is non-nil (in which case, buffer
names should include enough of a buffer's directory to distinguish it
from other buffers).
Setting this variable directly does not take effect until next time the Buffers menu is regenerated.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
(defcustom buffers-menu-show-directories 'unless-uniquify
"If non-nil, show directories in the Buffers menu for buffers that have them.
The special value `unless-uniquify' means that directories will be shown
unless `uniquify-buffer-name-style' is non-nil (in which case, buffer
names should include enough of a buffer's directory to distinguish it
from other buffers).
Setting this variable directly does not take effect until next time the
Buffers menu is regenerated."
:set (lambda (symbol value)
(set symbol value)
(menu-bar-update-buffers t))
:initialize 'custom-initialize-default
:type '(choice (const :tag "Never" nil)
(const :tag "Unless uniquify is enabled" unless-uniquify)
(const :tag "Always" t))
:group 'menu)