Commit bf7970c5 authored by Jan Djärv's avatar Jan Djärv
Browse files

* menu-bar.el (menu-bar-file-menu): Add the same :enable to

"Open Directory" as for "Open File".
parent 0251bafb
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
......
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