summaryrefslogtreecommitdiff
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-19 00:03:01 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-19 00:03:01 +0000
commitddb3136ef766af1991e170118076cf2400008ca9 (patch)
treef43ba4f6dff2026e1a9b1ce73b61dd2d7bc365b5 /lisp/indent.el
parentb4d413d983883184978703a7ce6407ba7513fac7 (diff)
downloademacs-ddb3136ef766af1991e170118076cf2400008ca9.tar.gz
Customized.
Diffstat (limited to 'lisp/indent.el')
-rw-r--r--lisp/indent.el20
1 files changed, 14 insertions, 6 deletions
diff --git a/lisp/indent.el b/lisp/indent.el
index 5b69fab958a..6639f4b2100 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -28,11 +28,17 @@
;;; Code:
-(defvar standard-indent 4 "\
-Default number of columns for margin-changing functions to indent.")
+(defgroup indent nil
+ "Indentation commands"
+ :group 'editing)
-(defvar indent-line-function 'indent-to-left-margin "\
-Function to indent current line.")
+(defcustom standard-indent 4
+ "*Default number of columns for margin-changing functions to indent."
+ :group 'indent
+ :type 'integer)
+
+(defvar indent-line-function 'indent-to-left-margin
+ "Function to indent current line.")
(defun indent-according-to-mode ()
"Indent line in proper way for current major mode."
@@ -357,10 +363,12 @@ column point starts at, `tab-to-tab-stop' is done instead."
(move-marker opoint nil))
(tab-to-tab-stop))))
-(defvar tab-stop-list
+(defcustom tab-stop-list
'(8 16 24 32 40 48 56 64 72 80 88 96 104 112 120)
"*List of tab stop positions used by `tab-to-tab-stops'.
-This should be a list of integers, ordered from smallest to largest.")
+This should be a list of integers, ordered from smallest to largest."
+ :group 'indent
+ :type '(repeat integer))
(defvar edit-tab-stops-map nil "Keymap used in `edit-tab-stops'.")
(if edit-tab-stops-map