tag 710319 + patch thanks Nico Golde <n...@debian.org> writes: > > patch for this
I suggest as simple as below. (I also think it could be under the site-lisp dir ready for use too, per my recent bug 483905.)
--- fetchmail-mode.el.orig 2012-12-17 23:29:50.000000000 +1100 +++ fetchmail-mode.el 2013-06-05 17:19:14.000000000 +1000 @@ -126,7 +126,6 @@ (use-local-map fetchmail-mode-map) ; This provides the local keymap. (setq mode-name "Fetchmail") ; This name goes into the modeline. (setq major-mode 'fetchmail-mode) ; Used by `describe-mode' - (run-hooks 'fetchmail-mode-hook) ; Run each time mode is called (set-syntax-table fetchmail-mode-syntax-table) ;; -cc- @@ -134,7 +133,8 @@ (make-local-variable 'font-lock-defaults) (setq font-lock-defaults '(fetchmail-font-lock-keywords nil t)) - (setq comment-start "#") + (set (make-local-variable 'comment-start) "#") + (run-hooks 'fetchmail-mode-hook) ; Run each time mode is called, last )