Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3e2b8c1c
Commit
3e2b8c1c
authored
Mar 03, 1996
by
Richard M. Stallman
Browse files
Require cl only when compiling.
(scroll-step): Don't set it globally. (dun-mode): Set scroll-step locally.
parent
dddff397
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
lisp/play/dunnet.el
lisp/play/dunnet.el
+6
-5
No files found.
lisp/play/dunnet.el
View file @
3e2b8c1c
...
...
@@ -34,13 +34,14 @@
;;; be writable by all.
(
defvar
dun-log-file
"/usr/local/dunnet.score"
"Name of file to store score information for dunnet."
)
(
defvar
dun-log-file
"/usr/local/dunnet.score"
"Name of file to store score information for dunnet."
)
(
if
nil
(
eval-and-compile
(
setq
byte-compile-warnings
nil
)))
(
require
'cl
)
(
eval-when-compile
(
require
'cl
))
;;;; Mode definitions for interactive mode
...
...
@@ -48,6 +49,8 @@
"Major mode for running dunnet."
(
interactive
)
(
text-mode
)
(
make-local-variable
'scroll-step
)
(
setq
scroll-step
2
)
(
use-local-map
dungeon-mode-map
)
(
setq
major-mode
'dungeon-mode
)
(
setq
mode-name
"Dungeon"
))
...
...
@@ -2424,8 +2427,6 @@ nil
nil
nil
nil
nil
nil
nil
nil
nil
nil
nil
;31-40
nil
(
list
obj-platinum
)
nil
nil
nil
nil
nil
nil
nil
nil
))
(
setq
scroll-step
2
)
(
setq
dun-room-shorts
nil
)
(
dolist
(
x
dun-rooms
)
(
setq
dun-room-shorts
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment