* progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 1 Jul 2011 10:33:50 +0000 (12:33 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 1 Jul 2011 10:33:50 +0000 (12:33 +0200)
cookie, since the manual says that it should be possible to add
this function to `find-file-hook'.

lisp/ChangeLog
lisp/progmodes/flymake.el

index bb1c858..6e494e2 100644 (file)
@@ -1,3 +1,9 @@
+2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * 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  <tzz@lifelogs.com>
 
        * progmodes/cfengine.el: Moved all cfengine3.el functionality
index 8f617b4..249c2b5 100644 (file)
@@ -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")