]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/sh-script.el (sh-syntax-propertize-here-doc):
authorLawrence Mitchell <wence@gmx.li>
Fri, 18 Feb 2011 21:46:08 +0000 (16:46 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 18 Feb 2011 21:46:08 +0000 (16:46 -0500)
Bind case-fold-search to nil when looking for end of here-doc.

Fixes: debbugs:8053
lisp/ChangeLog
lisp/progmodes/sh-script.el

index 367e685dd1d7243b8cb3e4444bd601e185d9db91..0f6fac51a95a1cfd22d0c025bd959a8019c1fdcb 100644 (file)
@@ -1,7 +1,12 @@
+2011-02-18  Lawrence Mitchell  <wence@gmx.li>
+
+       * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
+       Bind case-fold-search to nil when looking for end of here-doc.
+
 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
 
-       * image-mode.el (image-toggle-display-image): Set
-       find-file-literally non-nil in buffers visiting binary image
+       * image-mode.el (image-toggle-display-image):
+       Set find-file-literally non-nil in buffers visiting binary image
        files.  (Bug#8047)
 
 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
        allout-abbreviate-flattened-numbering.
        (allout-mode-p): Include among autoloads, for use by other modes
        with impunity.
-       (allout-listify-exposed): Use
-       allout-flattened-numbering-abbreviation.
+       (allout-listify-exposed):
+       Use allout-flattened-numbering-abbreviation.
        (allout-encrypt-string): Use set-buffer-multibyte directly.
        (allout-set-buffer-multibyte): Remove.
 
 
        * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
 
-       * vc/log-view.el (log-view-mode-menu): Add
-       log-view-toggle-entry-display.
+       * vc/log-view.el (log-view-mode-menu):
+       Add log-view-toggle-entry-display.
 
 2011-02-14  Glenn Morris  <rgm@gnu.org>
 
        * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
        narrow-to-region call that cuts context off the end (Bug#7722).
 
-       * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Refactor
-       nested if-forms with a simple cond.
+       * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
+       Refactor nested if-forms with a simple cond.
        (c-forward-<>-arglist): Revert 2011-01-31 change.
 
 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
index 900072fe356965aa1b24129b7459039f270e5855..7b84cc89d08ad611b0974e2fe1c9ed086e9b10d2 100644 (file)
@@ -969,7 +969,8 @@ Point is at the beginning of the next line."
 (defun sh-syntax-propertize-here-doc (end)
   (let ((ppss (syntax-ppss)))
     (when (eq t (nth 3 ppss))
-      (let ((key (get-text-property (nth 8 ppss) 'sh-here-doc-marker)))
+      (let ((key (get-text-property (nth 8 ppss) 'sh-here-doc-marker))
+            (case-fold-search nil))
         (when (re-search-forward
                (concat "^\\([ \t]*\\)" (regexp-quote key) "\\(\n\\)")
                end 'move)