;;; makefile-edit.el --- Makefile editing/scanning commands.
-;; Copyright (C) 2009 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2015 Free Software Foundation, Inc.
;; Author: Eric M. Ludlam <eric@siege-engine.com>
;;; Code:
(defun makefile-beginning-of-command ()
- "Move the the beginning of the current command."
+ "Move to the beginning of the current command."
(interactive)
(if (save-excursion
(forward-line -1)
(forward-line 1)))
(defun makefile-end-of-command ()
- "Move the the beginning of the current command."
+ "Move to the end of the current command."
(interactive)
(end-of-line)
(while (and (makefile-line-continued-p)
(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.
"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)