Use defcustom.

This commit is contained in:
Richard M. Stallman 1997-05-05 15:06:25 +00:00
parent 9d325ebf0d
commit 30e19aee85
4 changed files with 33 additions and 15 deletions

View file

@ -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).