aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-17 21:54:16 +0000
committerRichard M. Stallman1997-06-17 21:54:16 +0000
commit48879301fd4da29735840b0668329a5a72ae9a16 (patch)
tree98e5dbe86dc854b84f96d50971c314660771a384
parentb32410669ed3325bd35fbd3753924a9ac7e6cac4 (diff)
downloademacs-48879301fd4da29735840b0668329a5a72ae9a16.tar.gz
emacs-48879301fd4da29735840b0668329a5a72ae9a16.zip
(scheme): Add defgroup.
Put defcustom's into this group. (scheme-mode-commands): Remove keybinding of \t to old `scheme-indent-line'. Bind \e\C-q to `indent-sexp', not `scheme-indent-sexp'. (scheme-mit-dialect): Use defcustom. (dsssl-sgml-declaration): Likewise. Fix doc string.
-rw-r--r--lisp/progmodes/scheme.el24
1 files changed, 16 insertions, 8 deletions
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index 584725e4c9f..c9f9b4cdb0c 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -175,9 +175,9 @@ All commands in `shared-lisp-mode-map' are inherited by this map.")
175 175
176;; Used by cmuscheme 176;; Used by cmuscheme
177(defun scheme-mode-commands (map) 177(defun scheme-mode-commands (map)
178 (define-key map "\t" 'scheme-indent-line) 178 ;;(define-key map "\t" 'indent-for-tab-command) ; default
179 (define-key map "\177" 'backward-delete-char-untabify) 179 (define-key map "\177" 'backward-delete-char-untabify)
180 (define-key map "\e\C-q" 'scheme-indent-sexp)) 180 (define-key map "\e\C-q" 'indent-sexp))
181 181
182;;;###autoload 182;;;###autoload
183(defun scheme-mode () 183(defun scheme-mode ()
@@ -208,16 +208,24 @@ if that value is non-nil."
208 (setq major-mode 'scheme-mode) 208 (setq major-mode 'scheme-mode)
209 (setq mode-name "Scheme")) 209 (setq mode-name "Scheme"))
210 210
211(defvar scheme-mit-dialect t 211(defgroup scheme nil
212 "Editing Scheme code"
213 :group 'lisp)
214
215(defcustom scheme-mit-dialect t
212 "If non-nil, scheme mode is specialized for MIT Scheme. 216 "If non-nil, scheme mode is specialized for MIT Scheme.
213Set this to nil if you normally use another dialect.") 217Set this to nil if you normally use another dialect."
218 :type 'boolean
219 :group 'scheme)
214 220
215(defvar dsssl-sgml-declaration 221(defcustom dsssl-sgml-declaration
216 "<!DOCTYPE style-sheet PUBLIC \"-//James Clark//DTD DSSSL Style Sheet//EN\"> 222 "<!DOCTYPE style-sheet PUBLIC \"-//James Clark//DTD DSSSL Style Sheet//EN\">
217" 223"
218 "*An SGML declaration (typically using James Clark's style-sheet 224 "*An SGML declaration for the DSSSL file.
219doctype, as required for Jade). This will be inserted into an empty 225This will be inserted into an empty buffer in dsssl-mode if it is
220buffer in dsssl-mode if it is defined as a string.") 226defined as a string. It is typically James Clark's style-sheet
227doctype, as required for Jade."
228 :group 'scheme)
221 229
222(defvar dsssl-imenu-generic-expression 230(defvar dsssl-imenu-generic-expression
223 ;; Perhaps this should also look for the style-sheet DTD tags. I'm 231 ;; Perhaps this should also look for the style-sheet DTD tags. I'm