diff --git a/.emacs b/.emacs index 77cc979..0deadb3 100644 --- a/.emacs +++ b/.emacs @@ -682,6 +682,18 @@ ;; all modes and extensions are located here (setq tvd-lisp-dir (expand-file-name "lisp" user-init-dir)) +;; -------------------------------------------------------------------------------- +;; ** Shortcut Mode - mode specific help about my own customizations + +;; FIXME: complete + +(defun add-shortcut (mode help) + (add-to-list 'shortcut-alist '(mode . help))) + +(defun shortcut () + (interactive) + (message (cdr (assoc major-mode 'shortcut-alist)))) + ;; -------------------------------------------------------------------------------- ;; ** Fontlock-mode - use syntax highlighting on graphical displays