aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/crisp.el37
1 files changed, 26 insertions, 11 deletions
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el
index 26ff19e7cd2..36287eb9eb5 100644
--- a/lisp/emulation/crisp.el
+++ b/lisp/emulation/crisp.el
@@ -51,44 +51,59 @@
51 51
52;; All these overrides should go *before* the (require 'crisp) statement. 52;; All these overrides should go *before* the (require 'crisp) statement.
53 53
54(defgroup crisp nil
55 "Emulator for CRiSP and Brief key bindings."
56 :prefix "crisp-"
57 :group 'emulations)
58
54;; local variables 59;; local variables
55 60
56(defvar crisp-mode-map (copy-keymap (current-global-map)) 61(defvar crisp-mode-map (copy-keymap (current-global-map))
57 "Local keymap for CRiSP emulation mode. 62 "Local keymap for CRiSP emulation mode.
58All the emulation bindings are done here instead of globally.") 63All the emulation bindings are done here instead of globally.")
59 64
60(defvar crisp-mode-modeline-string " *CRiSP*" 65(defcustom crisp-mode-modeline-string " *CRiSP*"
61 "String to display in the modeline when CRiSP emulation mode is enabled.") 66 "String to display in the modeline when CRiSP emulation mode is enabled."
67 :type 'string
68 :group 'crisp)
62 69
63(defvar crisp-mode-original-keymap (copy-keymap (current-global-map)) 70(defvar crisp-mode-original-keymap (copy-keymap (current-global-map))
64 "The original keymap before CRiSP emulation mode remaps anything. 71 "The original keymap before CRiSP emulation mode remaps anything.
65This keymap is restored when CRiSP emulation mode is disabled.") 72This keymap is restored when CRiSP emulation mode is disabled.")
66 73
67(defvar crisp-mode-enabled nil 74(defcustom crisp-mode-enabled nil
68 "Track status of CRiSP emulation mode. 75 "Track status of CRiSP emulation mode.
69A value of nil means CRiSP mode is not enabled. A value of t 76A value of nil means CRiSP mode is not enabled. A value of t
70indicates CRiSP mode is enabled.") 77indicates CRiSP mode is enabled."
78 :type 'boolean
79 :group 'crisp)
71 80
72(defvar crisp-override-meta-x t 81(defcustom crisp-override-meta-x t
73 "Controls overriding the normal Emacs M-x key binding in the CRiSP emulator. 82 "Controls overriding the normal Emacs M-x key binding in the CRiSP emulator.
74Normally the CRiSP emulator rebinds M-x to save-buffers-exit-emacs 83Normally the CRiSP emulator rebinds M-x to save-buffers-exit-emacs
75and provides the usual M-x functionality on the F10 key. 84and provides the usual M-x functionality on the F10 key.
76 85
77If this variable is nil when you start the CRiSP emulator, it 86If this variable is nil when you start the CRiSP emulator, it
78does not alter the binding of M-x.") 87does not alter the binding of M-x."
88 :type 'boolean
89 :group 'crisp)
79 90
80(defvar crisp-load-scroll-all t 91(defcustom crisp-load-scroll-all t
81 "Controls loading of the Scroll All mode in the CRiSP emulator. 92 "Controls loading of the Scroll All mode in the CRiSP emulator.
82Its Default behavior is to load and enable the Scroll All minor mode 93Its Default behavior is to load and enable the Scroll All minor mode
83package when enabling the CRiSP emulator. 94package when enabling the CRiSP emulator.
84 95
85If this variable is nil when you start the CRiSP emulator, it 96If this variable is nil when you start the CRiSP emulator, it
86does not load Scroll All.") 97does not load Scroll All."
98 :type 'boolean
99 :group 'crisp)
87 100
88(defvar crisp-load-hook nil 101(defcustom crisp-load-hook nil
89 "Hooks to run after loadint the CRiSP emulator package.") 102 "Hooks to run after loadint the CRiSP emulator package."
103 :type 'hook
104 :group 'crisp)
90 105
91(defvar crisp-version "crisp.el release 1.1/$Revision: 1.5 $" 106(defvar crisp-version "crisp.el release 1.1/$Revision: 1.6 $"
92 "The release number and RCS version for the CRiSP emulator.") 107 "The release number and RCS version for the CRiSP emulator.")
93 108
94(defvar crisp-last-last-command nil 109(defvar crisp-last-last-command nil