mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
begin shortcut mode
This commit is contained in:
12
.emacs
12
.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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user