diff 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
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp.el	Mon May 05 15:00:53 1997 +0000
+++ b/lisp/emacs-lisp/lisp.el	Mon May 05 15:06:25 1997 +0000
@@ -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).