aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2012-08-27 18:51:17 +0800
committerLeo Liu <[email protected]>2012-08-27 18:51:17 +0800
commit22ab32ef882fb7aaf1c193d377194ed797e81e20 (patch)
tree01e15f64d1690ca72c5c9f9ea8dae3d8678edda8
parent19c17fc1475500f2a6fecf1b8ebd08e64635e4ca (diff)
Change sh-indent-comment to t
See: http://debbugs.gnu.org/12267
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/sh-script.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a29946a5a7..77c6a8d087 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-27 Leo Liu <[email protected]>
+
+ * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
+
2012-08-24 Chong Yidong <[email protected]>
* Version 24.2 released.
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 7d38df6aff..90f9ce3a52 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -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)