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)
|
||||
)
|
||||
|
||||
;; TODO: build a menu destructor
|
|
@ -67,10 +67,7 @@ and keymap for their actions."
|
|||
;; ----------------------------------------------------------------------
|
||||
;; Functions
|
||||
;; ----------------------------------------------------------------------
|
||||
(defun tmplog () ""
|
||||
(interactive)
|
||||
(log ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
||||
)
|
||||
|
||||
;; ----------------------------------------------------------------------
|
||||
;; Minor Modes
|
||||
;; ----------------------------------------------------------------------
|
||||
|
@ -88,7 +85,6 @@ This mode provide a basic configuration for an IDE."
|
|||
(let ()
|
||||
;; before initiazing mode
|
||||
(run-hooks shit-preinit-mode-hook)
|
||||
(define-key shit-map (kbd "\C-c \C-c") 'tmplog)
|
||||
(menu/init-menu)
|
||||
;; after mode was initialized
|
||||
(run-hooks shit-postinit-mode-hook)
|
||||
|
@ -102,4 +98,7 @@ This mode provide a basic configuration for an IDE."
|
|||
(run-hooks shit-postrm-mode-hook)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
;; TODO: provide a easy way for plugins to define a minor mode
|
Loading…
Reference in New Issue