* menu-bar.el (menu-bar-file-menu): Add the same :enable to
"Open Directory" as for "Open File".
This commit is contained in:
parent
0251bafb90
commit
bf7970c564
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-03-06 Jan Dj,Ad(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.
|
||||
|
|
|
|||
|
|
@ -184,6 +184,8 @@ A large number or nil slows down menu responsiveness."
|
|||
: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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue