[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/sh-script.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/sh-script.el |
Date: |
Tue, 27 May 2003 14:40:31 -0400 |
Index: emacs/lisp/progmodes/sh-script.el
diff -c emacs/lisp/progmodes/sh-script.el:1.120
emacs/lisp/progmodes/sh-script.el:1.121
*** emacs/lisp/progmodes/sh-script.el:1.120 Wed Feb 12 05:21:06 2003
--- emacs/lisp/progmodes/sh-script.el Tue May 27 14:40:31 2003
***************
*** 543,549 ****
(defvar sh-here-document-word "EOF"
! "Word to delimit here documents.")
(defvar sh-test
'((sh "[ ]" . 3)
--- 543,555 ----
(defvar sh-here-document-word "EOF"
! "Word to delimit here documents.
! If the first character of this string is \"-\", this character will
! be removed from the string when it is used to close the here document.
! This convention is used by the Bash shell, for example, to indicate
! that leading tabs inside the here document should be ignored.
! Note that Emacs currently has no support for indenting inside here
! documents - you must insert literal tabs by hand.")
(defvar sh-test
'((sh "[ ]" . 3)
***************
*** 3498,3504 ****
(sh-quoted-p)
(end-of-line 2))
(newline)
! (save-excursion (insert ?\n sh-here-document-word)))))
;; various other commands
--- 3504,3513 ----
(sh-quoted-p)
(end-of-line 2))
(newline)
! (save-excursion
! (insert ?\n (substring
! sh-here-document-word
! (if (string-match "^-" sh-here-document-word) 1
0)))))))
;; various other commands
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/sh-script.el,
Glenn Morris <=