]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/ede/makefile-edit.el
Update copyright year to 2015
[gnu-emacs] / lisp / cedet / ede / makefile-edit.el
index 63991c54e7fcf6b814d23846d7446c536c482df0..e848d45dcb5b30aabe64d58aee6333ac2d5603f5 100644 (file)
@@ -1,6 +1,6 @@
 ;;; makefile-edit.el --- Makefile editing/scanning commands.
 
-;; Copyright (C) 2009-2011 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2015 Free Software Foundation, Inc.
 
 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
 
@@ -71,7 +71,7 @@
     (end-of-line)
     (= (preceding-char) ?\\)))
 
-;;; Programatic editing of a Makefile
+;;; Programmatic editing of a Makefile
 ;;
 (defun makefile-move-to-macro (macro &optional next)
   "Move to the definition of MACRO.  Return t if found.
@@ -99,7 +99,8 @@ STOP-BEFORE is a regular expression matching a file name."
   "Return a list of all files in MACRO."
   (save-excursion
     (goto-char (point-min))
-    (let ((lst nil))
+    (let ((lst nil)
+         (case-fold-search nil))
       (while (makefile-move-to-macro macro t)
        (let ((e (save-excursion
                   (makefile-end-of-command)