Try to fix failure to recognize Muse file extension (6th attempt).
commit4f95a6086852f3ad78082e846a96c351434b21a8
authorMichael Olson <mwolson@gnu.org>
Mon, 10 Apr 2006 03:03:28 +0000 (10 03:03 +0000)
committerMichael Olson <mwolson@gnu.org>
Mon, 10 Apr 2006 03:03:28 +0000 (10 03:03 +0000)
treeca1b9886d26f88803ef2686291a1f0c6ee4700eb
parent2af51fa324ce8057331ca8281bb24ccd3965e602
Try to fix failure to recognize Muse file extension (6th attempt).

* lisp/muse-mode.el: Call `muse-mode-maybe-after-init' after the user's
  init file is loaded.
  (muse-mode-maybe-after-init): New function that causes muse-mode-maybe
  to be added to find-file-hooks when muse-mode-auto-p is non-nil.

* lisp/muse.el: Call `muse-update-file-extension-after-init after the
  user's init file is loaded.  Explicitly add the Muse file extension
  when muse.el is loaded, to make life simpler.
  (muse-update-file-extension): Take several edge cases into account.
  (muse-file-extension): Docfix.
  (muse-update-file-extension-after-init): New function that causes the
  file extension to be updated.

* muse.texi (Projects): It is no longer necessary to call
  `muse-mode-maybe' manually.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-105
ChangeLog.2006
lisp/muse-mode.el
lisp/muse.el
muse.texi