1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

* 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'.
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-01 12:33:50 +02:00
parent 7c9eeb9455
commit 5bd3590262
2 changed files with 7 additions and 0 deletions

View 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> 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
* progmodes/cfengine.el: Moved all cfengine3.el functionality * progmodes/cfengine.el: Moved all cfengine3.el functionality

View File

@ -1406,6 +1406,7 @@ With arg, turn Flymake mode on if and only if arg is positive."
(cancel-timer flymake-timer) (cancel-timer flymake-timer)
(setq flymake-timer nil))) (setq flymake-timer nil)))
;;;###autoload
(defun flymake-find-file-hook () (defun flymake-find-file-hook ()
;;+(when flymake-start-syntax-check-on-find-file ;;+(when flymake-start-syntax-check-on-find-file
;;+ (flymake-log 3 "starting syntax check on file open") ;;+ (flymake-log 3 "starting syntax check on file open")