From: Lars Magne Ingebrigtsen Date: Fri, 1 Jul 2011 10:33:50 +0000 (+0200) Subject: * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload' X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~274 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bd35902628b1b227cd82ff306f84acb8abdb7f9;p=emacs.git * 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'. --- 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")