Move Prelude's menu item under Tools.
This commit is contained in:
parent
104c84e905
commit
97bab294cc
1 changed files with 5 additions and 4 deletions
|
@ -54,8 +54,7 @@
|
||||||
map)
|
map)
|
||||||
"Keymap for Prelude mode.")
|
"Keymap for Prelude mode.")
|
||||||
|
|
||||||
(easy-menu-define prelude-mode-menu prelude-mode-map
|
(easy-menu-add-item nil '("Tools")
|
||||||
"Menu for Prelude mode"
|
|
||||||
'("Prelude"
|
'("Prelude"
|
||||||
("Files"
|
("Files"
|
||||||
["Open with..." prelude-open-with]
|
["Open with..." prelude-open-with]
|
||||||
|
@ -88,7 +87,10 @@
|
||||||
("General"
|
("General"
|
||||||
["Visit term buffer" prelude-visit-term-buffer]
|
["Visit term buffer" prelude-visit-term-buffer]
|
||||||
["Search in Google" prelude-google]
|
["Search in Google" prelude-google]
|
||||||
["View URL" prelude-view-url])))
|
["View URL" prelude-view-url]))
|
||||||
|
"Search Files (Grep)...")
|
||||||
|
|
||||||
|
(easy-menu-add-item nil '("Tools") '("----") "Search Files (Grep)...")
|
||||||
|
|
||||||
;; define minor mode
|
;; define minor mode
|
||||||
(define-globalized-minor-mode prelude-global-mode prelude-mode prelude-on)
|
(define-globalized-minor-mode prelude-global-mode prelude-mode prelude-on)
|
||||||
|
@ -107,7 +109,6 @@
|
||||||
:keymap prelude-mode-map
|
:keymap prelude-mode-map
|
||||||
(if prelude-mode
|
(if prelude-mode
|
||||||
;; on start
|
;; on start
|
||||||
(easy-menu-add prelude-mode-menu prelude-mode-map)
|
|
||||||
;; on stop
|
;; on stop
|
||||||
(prelude-off)))
|
(prelude-off)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue