summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-05 15:06:25 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-05 15:06:25 +0000
commit30e19aee8562bfd1370098f1af95e100c964da30 (patch)
tree296158f585642e486a5928f5dc5f1ee6b2b36437 /lisp/emacs-lisp/lisp.el
parent9d325ebf0d4ff46c16515abcfb17310b246b4b86 (diff)
downloademacs-30e19aee8562bfd1370098f1af95e100c964da30.tar.gz
Use defcustom.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-rw-r--r--lisp/emacs-lisp/lisp.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 767c96e620b..995e327ee9b 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -29,14 +29,18 @@
;;; Code:
;; Note that this variable is used by non-lisp modes too.
-(defvar defun-prompt-regexp nil
+(defcustom defun-prompt-regexp nil
"*Non-nil => regexp to ignore, before the character that starts a defun.
This is only necessary if the opening paren or brace is not in column 0.
-See `beginning-of-defun'.")
+See `beginning-of-defun'."
+ :type 'boolean
+ :group 'lisp)
(make-variable-buffer-local 'defun-prompt-regexp)
-(defvar parens-require-spaces t
- "Non-nil => `insert-parentheses' should insert whitespace as needed.")
+(defcustom parens-require-spaces t
+ "Non-nil => `insert-parentheses' should insert whitespace as needed."
+ :type 'boolean
+ :group 'lisp)
(defun forward-sexp (&optional arg)
"Move forward across one balanced expression (sexp).