some code cleaned up
This commit is contained in:
parent
966c07ccb2
commit
219665b982
|
@ -48,3 +48,4 @@
|
||||||
;; (define-key-after global-map [menu-bar file new-proj phpproj] (cons "PHP" (make-sparse-keymap "php-proj")) 'pyproj)
|
;; (define-key-after global-map [menu-bar file new-proj phpproj] (cons "PHP" (make-sparse-keymap "php-proj")) 'pyproj)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; TODO: build a menu destructor
|
|
@ -67,10 +67,7 @@ and keymap for their actions."
|
||||||
;; ----------------------------------------------------------------------
|
;; ----------------------------------------------------------------------
|
||||||
;; Functions
|
;; Functions
|
||||||
;; ----------------------------------------------------------------------
|
;; ----------------------------------------------------------------------
|
||||||
(defun tmplog () ""
|
|
||||||
(interactive)
|
|
||||||
(log ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
|
||||||
)
|
|
||||||
;; ----------------------------------------------------------------------
|
;; ----------------------------------------------------------------------
|
||||||
;; Minor Modes
|
;; Minor Modes
|
||||||
;; ----------------------------------------------------------------------
|
;; ----------------------------------------------------------------------
|
||||||
|
@ -88,7 +85,6 @@ This mode provide a basic configuration for an IDE."
|
||||||
(let ()
|
(let ()
|
||||||
;; before initiazing mode
|
;; before initiazing mode
|
||||||
(run-hooks shit-preinit-mode-hook)
|
(run-hooks shit-preinit-mode-hook)
|
||||||
(define-key shit-map (kbd "\C-c \C-c") 'tmplog)
|
|
||||||
(menu/init-menu)
|
(menu/init-menu)
|
||||||
;; after mode was initialized
|
;; after mode was initialized
|
||||||
(run-hooks shit-postinit-mode-hook)
|
(run-hooks shit-postinit-mode-hook)
|
||||||
|
@ -103,3 +99,6 @@ This mode provide a basic configuration for an IDE."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
;; TODO: provide a easy way for plugins to define a minor mode
|
Loading…
Reference in New Issue