From 80a93bbfecae015d3a39bd84bd30be50c8edc057 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Tue, 12 Jun 2007 04:02:52 +0000 Subject: [PATCH] No, we really did need the auto-mode-alist part at top-level 2007-06-12 Michael Olson * lisp/muse.el: Re-add the auto-mode-alist part to top-level, since otherwise Planner is not happy when `plan' is called during init. Remove stray quote from autoload snippet. git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-343 --- ChangeLog | 6 ++++++ lisp/muse.el | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 154ec11..c175eb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-12 Michael Olson + + * lisp/muse.el: Re-add the auto-mode-alist part to top-level, + since otherwise Planner is not happy when `plan' is called during + init. Remove stray quote from autoload snippet. + 2007-06-11 Michael Olson * lisp/muse.el: Make the add-to-list 'auto-mode-alist part an diff --git a/lisp/muse.el b/lisp/muse.el index 4199a87..fa5ceb5 100644 --- a/lisp/muse.el +++ b/lisp/muse.el @@ -80,7 +80,11 @@ It is run just before colorizing or publishing a buffer.") ;; Default file extension ;; By default, use the .muse file extension. -;;;###autoload (add-to-list 'auto-mode-alist '("\\.muse\\'" . 'muse-mode-choose-mode)) +;;;###autoload (add-to-list 'auto-mode-alist '("\\.muse\\'" . muse-mode-choose-mode)) + +;; We need to have this at top-level, as well, so that any Muse or +;; Planner documents opened during init will just work. +(add-to-list 'auto-mode-alist '("\\.muse\\'" . muse-mode-choose-mode)) (eval-when-compile (defvar muse-ignored-extensions)) -- 2.11.4.GIT