begin shortcut mode

This commit is contained in:
Thomas von Dein
2017-12-06 21:08:52 +01:00
parent a869859737
commit d8713417b7

12
.emacs
View File

@@ -682,6 +682,18 @@
;; all modes and extensions are located here ;; all modes and extensions are located here
(setq tvd-lisp-dir (expand-file-name "lisp" user-init-dir)) (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 ;; ** Fontlock-mode - use syntax highlighting on graphical displays