aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-01 12:33:50 +0200
committerLars Magne Ingebrigtsen2011-07-01 12:33:50 +0200
commit5bd35902628b1b227cd82ff306f84acb8abdb7f9 (patch)
tree573b6620c78619ae843f257df71ca71cb1e2641a
parent7c9eeb9455c7294fca00f194aa7ba1119a3e460d (diff)
downloademacs-5bd35902628b1b227cd82ff306f84acb8abdb7f9.tar.gz
emacs-5bd35902628b1b227cd82ff306f84acb8abdb7f9.zip
* 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'.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/flymake.el1
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb1c85891a6..6e494e2a1fa 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4 cookie, since the manual says that it should be possible to add
5 this function to `find-file-hook' (bug#8709).
6
12011-07-01 Teodor Zlatanov <tzz@lifelogs.com> 72011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2 8
3 * progmodes/cfengine.el: Moved all cfengine3.el functionality 9 * 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."
1406 (cancel-timer flymake-timer) 1406 (cancel-timer flymake-timer)
1407 (setq flymake-timer nil))) 1407 (setq flymake-timer nil)))
1408 1408
1409;;;###autoload
1409(defun flymake-find-file-hook () 1410(defun flymake-find-file-hook ()
1410 ;;+(when flymake-start-syntax-check-on-find-file 1411 ;;+(when flymake-start-syntax-check-on-find-file
1411 ;;+ (flymake-log 3 "starting syntax check on file open") 1412 ;;+ (flymake-log 3 "starting syntax check on file open")