some code cleaned up

This commit is contained in:
Sameer Rahmani 2011-01-02 17:35:40 +03:30
parent 966c07ccb2
commit 219665b982
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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