emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115655: * progmodes/sh-script.el (sh-mode): Tweak p


From: Daniel Colascione
Subject: [Emacs-diffs] trunk r115655: * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
Date: Fri, 20 Dec 2013 21:42:21 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115655
revision-id: address@hidden
parent: address@hidden
committer: Daniel Colascione <address@hidden>
branch nick: trunk
timestamp: Fri 2013-12-20 13:41:57 -0800
message:
  * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
  so that we don't reflow comments into the shebang line.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/sh-script.el    shscript.el-20091113204419-o5vbwnq5f7feedwu-727
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-12-20 20:20:39 +0000
+++ b/lisp/ChangeLog    2013-12-20 21:41:57 +0000
@@ -1,3 +1,8 @@
+2013-12-20  Daniel Colascione  <address@hidden>
+
+       * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
+       so that we don't reflow comments into the shebang line.
+
 2013-12-20  Juri Linkov  <address@hidden>
 
        * saveplace.el (save-place-to-alist): Add `dired-filename' as

=== modified file 'lisp/progmodes/sh-script.el'
--- a/lisp/progmodes/sh-script.el       2013-12-02 07:13:01 +0000
+++ b/lisp/progmodes/sh-script.el       2013-12-20 21:41:57 +0000
@@ -1589,7 +1589,7 @@
              (lambda () (or (eolp) (newline) (indent-relative))))
 
   (setq-local paragraph-start (concat page-delimiter "\\|$"))
-  (setq-local paragraph-separate paragraph-start)
+  (setq-local paragraph-separate (concat paragraph-start "\\|#!/"))
   (setq-local comment-start "# ")
   (setq-local comment-start-skip "#+[\t ]*")
   (setq-local local-abbrev-table sh-mode-abbrev-table)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]