]> code.delx.au - gnu-emacs/commitdiff
Change sh-indent-comment to t
authorLeo Liu <sdl.web@gmail.com>
Mon, 27 Aug 2012 10:51:17 +0000 (18:51 +0800)
committerLeo Liu <sdl.web@gmail.com>
Mon, 27 Aug 2012 10:51:17 +0000 (18:51 +0800)
See: http://debbugs.gnu.org/12267

lisp/ChangeLog
lisp/progmodes/sh-script.el

index a29946a5a73ab58eefeaa6a7017829cb417e2f0c..77c6a8d087c4961c5d26b422b79c3e8cce97e3d0 100644 (file)
@@ -1,3 +1,7 @@
+2012-08-27  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
+
 2012-08-24  Chong Yidong  <cyd@gnu.org>
 
        * Version 24.2 released.
index 7d38df6aff6445b8e78675e334ad19871d8ebfd5..90f9ce3a52f2c608ae7802859bb35c92cfb35def 100644 (file)
@@ -1190,7 +1190,7 @@ This value is used for the `+' and `-' symbols in an indentation variable."
   :group 'sh-indentation)
 (put 'sh-basic-offset 'safe-local-variable 'integerp)
 
-(defcustom sh-indent-comment nil
+(defcustom sh-indent-comment t
   "How a comment line is to be indented.
 nil means leave it as it is;
 t  means indent it as a normal line, aligning it to previous non-blank
@@ -1201,6 +1201,7 @@ a number means align to that column, e.g. 0 means first column."
          (const :tag "Indent as a normal line."  t)
          (integer :menu-tag "Indent to this col (0 means first col)."
                   :tag "Indent to column number.") )
+  :version "24.3"
   :group 'sh-indentation)