From 5bd35902628b1b227cd82ff306f84acb8abdb7f9 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Fri, 1 Jul 2011 12:33:50 +0200 Subject: [PATCH] * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload' cookie, since the manual says that it should be possible to add this function to `find-file-hook'. --- lisp/ChangeLog | 6 ++++++ lisp/progmodes/flymake.el | 1 + 2 files changed, 7 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bb1c85891a6..6e494e2a1fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2011-07-01 Lars Magne Ingebrigtsen + + * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload' + cookie, since the manual says that it should be possible to add + this function to `find-file-hook' (bug#8709). + 2011-07-01 Teodor Zlatanov * progmodes/cfengine.el: Moved all cfengine3.el functionality diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 8f617b44dae..249c2b57b71 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -1406,6 +1406,7 @@ With arg, turn Flymake mode on if and only if arg is positive." (cancel-timer flymake-timer) (setq flymake-timer nil))) +;;;###autoload (defun flymake-find-file-hook () ;;+(when flymake-start-syntax-check-on-find-file ;;+ (flymake-log 3 "starting syntax check on file open") -- 2.39.2