From 22ab32ef882fb7aaf1c193d377194ed797e81e20 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Mon, 27 Aug 2012 18:51:17 +0800 Subject: [PATCH] Change sh-indent-comment to t See: http://debbugs.gnu.org/12267 --- lisp/ChangeLog | 4 ++++ lisp/progmodes/sh-script.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267). + 2012-08-24 Chong Yidong * 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) -- 2.39.2