aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorKevin Ryde <user42_kevin@yahoo.com.au>2019-08-25 10:14:42 +0200
committerMatthias Andree <matthias.andree@gmx.de>2019-08-25 10:21:22 +0200
commitc8e26099678c531f7f2539af1ac6ee44fae4365b (patch)
treed3627668049dacfbe4843cf6dfaf9784a6489545 /contrib
parent174c2711dfa00c1a07b6415f6a4c879fb3f8171c (diff)
downloadfetchmail-c8e26099678c531f7f2539af1ac6ee44fae4365b.tar.gz
fetchmail-c8e26099678c531f7f2539af1ac6ee44fae4365b.tar.bz2
fetchmail-c8e26099678c531f7f2539af1ac6ee44fae4365b.zip
contrib/fetchmail-mode.el: run fetchmail-mode-hook after other settings
Obtained from: https://bugs.debian.org/710319 Obsoletes: Debian patch 02_fetchmail_mode.el.diff
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fetchmail-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fetchmail-mode.el b/contrib/fetchmail-mode.el
index d22ebcaf..a9038810 100644
--- a/contrib/fetchmail-mode.el
+++ b/contrib/fetchmail-mode.el
@@ -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
)