diff options
| author | Stefan Monnier | 2005-01-18 18:21:58 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-01-18 18:21:58 +0000 |
| commit | 67b9b71fc8a51f37dba1bc7adf0d47e8e929c86a (patch) | |
| tree | 0a1992f4ba675e26daa31c6014986cf9b4b87dda | |
| parent | 87954aeb75e8da1b263d5b0bc69f1e710c3ddec3 (diff) | |
| download | emacs-67b9b71fc8a51f37dba1bc7adf0d47e8e929c86a.tar.gz emacs-67b9b71fc8a51f37dba1bc7adf0d47e8e929c86a.zip | |
(sh-here-doc-open-re): Don't allow `|' or other
funny chars in the end-of-here-doc marker.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/progmodes/sh-script.el | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4553732d4ec..330d448d0b1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-01-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/sh-script.el (sh-here-doc-open-re): Don't allow | or other | ||
| 4 | funny chars in the end-of-here-doc marker. | ||
| 5 | |||
| 1 | 2005-01-19 Nick Roberts <nickrob@snap.net.nz> | 6 | 2005-01-19 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 7 | ||
| 3 | * progmodes/gdb-ui.el (gdb-put-string): Copy/create strings so | 8 | * progmodes/gdb-ui.el (gdb-put-string): Copy/create strings so |
| @@ -5,9 +10,9 @@ | |||
| 5 | fringe and on ttys. | 10 | fringe and on ttys. |
| 6 | (gdb-put-breakpoint-icon, gdb-info-breakpoints-custom): | 11 | (gdb-put-breakpoint-icon, gdb-info-breakpoints-custom): |
| 7 | Add breakpoint information as text properties. | 12 | Add breakpoint information as text properties. |
| 8 | (gdb-mouse-toggle-breakpoint): | 13 | (gdb-mouse-toggle-breakpoint): |
| 9 | Rename to gdb-mouse-set-clear-breakpoint. | 14 | Rename to gdb-mouse-set-clear-breakpoint. |
| 10 | (gdb-mouse-toggle-breakpoint): New function. Enable/disable | 15 | (gdb-mouse-toggle-breakpoint): New function. Enable/disable |
| 11 | breakpoints in the margin. | 16 | breakpoints in the margin. |
| 12 | (gdb-remove-strings): Simplify. | 17 | (gdb-remove-strings): Simplify. |
| 13 | 18 | ||
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 019a19ed007..1e21d10cdc1 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; sh-script.el --- shell-script editing commands for Emacs | 1 | ;;; sh-script.el --- shell-script editing commands for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 94, 95, 96, 97, 1999, 2001, 03, 2004 | 3 | ;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2003, 2004, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org> | 6 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org> |
| @@ -838,7 +838,7 @@ See `sh-feature'.") | |||
| 838 | (defconst sh-st-symbol (string-to-syntax "_")) | 838 | (defconst sh-st-symbol (string-to-syntax "_")) |
| 839 | (defconst sh-here-doc-syntax (string-to-syntax "|")) ;; generic string | 839 | (defconst sh-here-doc-syntax (string-to-syntax "|")) ;; generic string |
| 840 | 840 | ||
| 841 | (defconst sh-here-doc-open-re "<<-?\\s-*\\\\?\\(\\(?:['\"][^'\"]+['\"]\\|\\sw\\|\\s_\\)+\\).*\\(\n\\)") | 841 | (defconst sh-here-doc-open-re "<<-?\\s-*\\\\?\\(\\(?:['\"][^'\"]+['\"]\\|\\sw\\)+\\).*\\(\n\\)") |
| 842 | 842 | ||
| 843 | (defvar sh-here-doc-markers nil) | 843 | (defvar sh-here-doc-markers nil) |
| 844 | (make-variable-buffer-local 'sh-here-doc-markers) | 844 | (make-variable-buffer-local 'sh-here-doc-markers) |
| @@ -3631,5 +3631,5 @@ shell command and conveniently use this command." | |||
| 3631 | 3631 | ||
| 3632 | (provide 'sh-script) | 3632 | (provide 'sh-script) |
| 3633 | 3633 | ||
| 3634 | ;;; arch-tag: eccd8b72-f337-4fc2-ae86-18155a69d937 | 3634 | ;; arch-tag: eccd8b72-f337-4fc2-ae86-18155a69d937 |
| 3635 | ;;; sh-script.el ends here | 3635 | ;;; sh-script.el ends here |