/[emacs]/emacs/lisp/progmodes/sh-script.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/sh-script.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.111 by lektu, Tue Jun 18 14:37:12 2002 UTC revision 1.112 by lektu, Fri Sep 6 07:17:05 2002 UTC
# Line 116  Line 116 
116  ;; You can do this automatically like this:  ;; You can do this automatically like this:
117  ;;   (add-hook 'sh-set-shell-hook 'sh-learn-buffer-indent)  ;;   (add-hook 'sh-set-shell-hook 'sh-learn-buffer-indent)
118  ;;  ;;
119  ;; However...   `sh-learn-buffer-indent' is extremely slow,  ;; However...  `sh-learn-buffer-indent' is extremely slow,
120  ;; especially on large-ish buffer.  Also, if there are conflicts the  ;; especially on large-ish buffer.  Also, if there are conflicts the
121  ;; "last one wins" which may not produce the desired setting.  ;; "last one wins" which may not produce the desired setting.
122  ;;  ;;
# Line 1058  a number means align to that column, e.g Line 1058  a number means align to that column, e.g
1058            sh-symbol-list))            sh-symbol-list))
1059    
1060  (defcustom sh-indent-for-fi 0  (defcustom sh-indent-for-fi 0
1061    "*How much to indent a fi relative to an if.   Usually 0."    "*How much to indent a fi relative to an if.  Usually 0."
1062    :type `(choice ,@ sh-number-or-symbol-list )    :type `(choice ,@ sh-number-or-symbol-list )
1063    :group 'sh-indentation)    :group 'sh-indentation)
1064    
1065  (defcustom sh-indent-for-done '0  (defcustom sh-indent-for-done '0
1066    "*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."
1067    :type `(choice ,@ sh-number-or-symbol-list )    :type `(choice ,@ sh-number-or-symbol-list )
1068    :group 'sh-indentation)    :group 'sh-indentation)
1069    

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26