comparison lisp/emacs-lisp/lisp.el @ 17665:b11021ca3525

Use defcustom.
author Richard M. Stallman <rms@gnu.org>
date Mon, 05 May 1997 15:06:25 +0000
parents 3f971c7163fb
children 03264c342376
comparison
equal deleted inserted replaced
17664:d8cb277f0ce8 17665:b11021ca3525
27 ;; Lisp editing commands to go with Lisp major mode. 27 ;; Lisp editing commands to go with Lisp major mode.
28 28
29 ;;; Code: 29 ;;; Code:
30 30
31 ;; Note that this variable is used by non-lisp modes too. 31 ;; Note that this variable is used by non-lisp modes too.
32 (defvar defun-prompt-regexp nil 32 (defcustom defun-prompt-regexp nil
33 "*Non-nil => regexp to ignore, before the character that starts a defun. 33 "*Non-nil => regexp to ignore, before the character that starts a defun.
34 This is only necessary if the opening paren or brace is not in column 0. 34 This is only necessary if the opening paren or brace is not in column 0.
35 See `beginning-of-defun'.") 35 See `beginning-of-defun'."
36 :type 'boolean
37 :group 'lisp)
36 (make-variable-buffer-local 'defun-prompt-regexp) 38 (make-variable-buffer-local 'defun-prompt-regexp)
37 39
38 (defvar parens-require-spaces t 40 (defcustom parens-require-spaces t
39 "Non-nil => `insert-parentheses' should insert whitespace as needed.") 41 "Non-nil => `insert-parentheses' should insert whitespace as needed."
42 :type 'boolean
43 :group 'lisp)
40 44
41 (defun forward-sexp (&optional arg) 45 (defun forward-sexp (&optional arg)
42 "Move forward across one balanced expression (sexp). 46 "Move forward across one balanced expression (sexp).
43 With argument, do it that many times. Negative arg -N means 47 With argument, do it that many times. Negative arg -N means
44 move backward across N balanced expressions." 48 move backward across N balanced expressions."