Commit 6728a649 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(makefile-add-log-defun): Avoid error at eob.

parent bd0e4eb1
......@@ -1332,7 +1332,7 @@ Uses `makefile-use-curly-braces-for-macros-p'."
(buffer-substring (match-beginning 1)
(match-end 1)))
((progn
(forward-char)
(or (eobp) (forward-char))
(re-search-backward makefile-dependency-regex nil t))
(buffer-substring (match-beginning 1)
(match-end 1)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment