diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-08-24 20:16:31 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-08-24 20:16:31 +0000 |
commit | 6728a649bd6d7c9325ec8d868a179fa114358158 (patch) | |
tree | 486a113942254a52717895231886450bce83e284 /lisp/progmodes/make-mode.el | |
parent | bd0e4eb1cce72dab45a765f82b844b7acde91d16 (diff) | |
download | emacs-6728a649bd6d7c9325ec8d868a179fa114358158.tar.gz |
(makefile-add-log-defun): Avoid error at eob.
Diffstat (limited to 'lisp/progmodes/make-mode.el')
-rw-r--r-- | lisp/progmodes/make-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index c31bffcba4c..172a25f6c3b 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -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))) |