aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1997-04-29 21:11:33 +0000
committerRichard M. Stallman1997-04-29 21:11:33 +0000
commita06e220dd65db7f9b0b29cf9d4f557b4021275f0 (patch)
tree6e6449cc38f1f778f9688158130dd4f116665f00 /lisp
parentbeaf629ddbb4f798814d02ba6c91f514669d848d (diff)
downloademacs-a06e220dd65db7f9b0b29cf9d4f557b4021275f0.tar.gz
emacs-a06e220dd65db7f9b0b29cf9d4f557b4021275f0.zip
(crisp-load-scroll-all): Renamed from ...-lock.
(crisp-mode): Use scroll-all... not scroll-lock...
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emulation/crisp.el22
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el
index 306fd3ba84a..81148bf04d7 100644
--- a/lisp/emulation/crisp.el
+++ b/lisp/emulation/crisp.el
@@ -33,10 +33,10 @@
33;; (require 'crisp) 33;; (require 'crisp)
34;; and use M-x crisp-mode to toggle it on or off. 34;; and use M-x crisp-mode to toggle it on or off.
35 35
36;; This package will automatically default to loading the scroll-lock.el 36;; This package will automatically default to loading the scroll-all.el
37;; package unless you put (setq crisp-load-scroll-lock nil) in your 37;; package unless you put (setq crisp-load-scroll-lock nil) in your
38;; .emacs. If this feature is enabled, it will bind Meta-F1 to the 38;; .emacs. If this feature is enabled, it will bind Meta-F1 to the
39;; scroll-lock mode toggle. 39;; scroll-all mode toggle.
40 40
41;; Also, the default keybindings for this mode override the Meta-x key to 41;; Also, the default keybindings for this mode override the Meta-x key to
42;; make it exit the editor. If you don't like this change, you can 42;; make it exit the editor. If you don't like this change, you can
@@ -77,18 +77,18 @@ and provides the usual M-x functionality on the F10 key.
77If this variable is nil when you start the CRiSP emulator, it 77If this variable is nil when you start the CRiSP emulator, it
78does not alter the binding of M-x.") 78does not alter the binding of M-x.")
79 79
80(defvar crisp-load-scroll-lock t 80(defvar crisp-load-scroll-all t
81 "Controls loading of the Scroll Lock in the CRiSP emulator. 81 "Controls loading of the Scroll All mode in the CRiSP emulator.
82Its Default behavior is to load and enable the Scroll Lock minor mode 82Its Default behavior is to load and enable the Scroll All minor mode
83package when enabling the CRiSP emulator. 83package when enabling the CRiSP emulator.
84 84
85If this variable is nil when you start the CRiSP emulator, it 85If this variable is nil when you start the CRiSP emulator, it
86does not load Scroll Lock.") 86does not load Scroll All.")
87 87
88(defvar crisp-load-hook nil 88(defvar crisp-load-hook nil
89 "Hooks to run after loadint the CRiSP emulator package.") 89 "Hooks to run after loadint the CRiSP emulator package.")
90 90
91(defvar crisp-version "crisp.el release 1.1/$Revision: 1.17 $" 91(defvar crisp-version "crisp.el release 1.1/$Revision: 1.3 $"
92 "The release number and RCS version for the CRiSP emulator.") 92 "The release number and RCS version for the CRiSP emulator.")
93 93
94(if (string-match "XEmacs\\Lucid" emacs-version) 94(if (string-match "XEmacs\\Lucid" emacs-version)
@@ -210,10 +210,10 @@ consecutive use moves point to the end of the buffer."
210 (cond 210 (cond
211 ((eq crisp-mode-enabled 't) 211 ((eq crisp-mode-enabled 't)
212 (use-global-map crisp-mode-map) 212 (use-global-map crisp-mode-map)
213 (if crisp-load-scroll-lock 213 (if crisp-load-scroll-all
214 (require 'scroll-lock)) 214 (require 'scroll-all))
215 (if (featurep 'scroll-lock) 215 (if (featurep 'scroll-all)
216 (define-key crisp-mode-map [(meta f1)] 'scroll-lock-mode)) 216 (define-key crisp-mode-map [(meta f1)] 'scroll-all-mode))
217 (run-hooks 'crisp-load-hook)) 217 (run-hooks 'crisp-load-hook))
218 ((eq crisp-mode-enabled 'nil) 218 ((eq crisp-mode-enabled 'nil)
219 (use-global-map crisp-mode-original-keymap)))) 219 (use-global-map crisp-mode-original-keymap))))