"Open Directory" as for "Open File".
+2005-03-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * menu-bar.el (menu-bar-file-menu): Add the same :enable to
+ "Open Directory" as for "Open File".
+
2005-03-06 Chong Yidong <cyd@stupidchicken.com>
* simple.el (activate-mark-hook, deactivate-mark-hook): Add defvars.
:help "Insert another file into current buffer"))
(define-key menu-bar-file-menu [dired]
'(menu-item "Open Directory..." dired
+ :enable (not (window-minibuffer-p
+ (frame-selected-window menu-updating-frame)))
:help "Read a directory, operate on its files"))
(define-key menu-bar-file-menu [open-file]
'(menu-item "Open File..." find-file-existing