Commit 4a9592f6 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(sh-indent-for-fi, sh-indent-for-done): Fix spacing.

parent 3090ac12
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
;; You can do this automatically like this: ;; You can do this automatically like this:
;; (add-hook 'sh-set-shell-hook 'sh-learn-buffer-indent) ;; (add-hook 'sh-set-shell-hook 'sh-learn-buffer-indent)
;; ;;
;; However... `sh-learn-buffer-indent' is extremely slow, ;; However... `sh-learn-buffer-indent' is extremely slow,
;; especially on large-ish buffer. Also, if there are conflicts the ;; especially on large-ish buffer. Also, if there are conflicts the
;; "last one wins" which may not produce the desired setting. ;; "last one wins" which may not produce the desired setting.
;; ;;
...@@ -1058,12 +1058,12 @@ a number means align to that column, e.g. 0 means fist column." ...@@ -1058,12 +1058,12 @@ a number means align to that column, e.g. 0 means fist column."
sh-symbol-list)) sh-symbol-list))
(defcustom sh-indent-for-fi 0 (defcustom sh-indent-for-fi 0
"*How much to indent a fi relative to an if. Usually 0." "*How much to indent a fi relative to an if. Usually 0."
:type `(choice ,@ sh-number-or-symbol-list ) :type `(choice ,@ sh-number-or-symbol-list )
:group 'sh-indentation) :group 'sh-indentation)
(defcustom sh-indent-for-done '0 (defcustom sh-indent-for-done '0
"*How much to indent a done relative to its matching stmt. Usually 0." "*How much to indent a done relative to its matching stmt. Usually 0."
:type `(choice ,@ sh-number-or-symbol-list ) :type `(choice ,@ sh-number-or-symbol-list )
:group 'sh-indentation) :group 'sh-indentation)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment