Implement optional file extension of Muse files.
commitde7b99585e4eb9102dfb69ae88143e699d1f5f43
authorMichael Olson <mwolson@gnu.org>
Thu, 7 Jul 2005 05:36:53 +0000 (7 05:36 +0000)
committerMichael Olson <mwolson@gnu.org>
Thu, 7 Jul 2005 05:36:53 +0000 (7 05:36 +0000)
tree46c0722963c1bde63b33c23f6748dd9b5cab6e89
parent2ddeb78c8ce81177b32d32bf5a3495e03bfac687
Implement optional file extension of Muse files.

* lisp/muse-mode.el (muse-mode): Make sure
  `muse-update-ignored-extensions-regexp' gets updated every time we
  enter Muse mode.  This works around a bug in the customize interface --
  if a user changes an option using setq, the :set function sometimes
  does not get executed.  I should really try to determine whether or not
  this is really an issue anymore.

* lisp/muse-project.el (muse-project-find-file): Make use of
  `muse-file-extension'.

* lisp/muse-regexps.el (muse-ignored-extensions-regexp): This is not
  customizable; it is autogenerated from `muse-ignored-extensions'.
  (muse-update-ignored-extensions-regexp): New function that sets the
  value of `muse-ignored-extensions-regexp'.  This is needed in order to
  make sure that the value of `muse-file-extension' is taken into
  account.
  (muse-ignored-extensions): New option that determines which file
  extensions to ignore.  It is in the form of a list of regexps.

* lisp/muse.el (muse-file-extension): New option that allows the user to
  specify the file extension to be used for Muse files.  By default, this
  is nil, which means that no extension will be used.

* lisp/muse.el (muse-page-name): Handle case where
  `muse-ignored-extensions-regexp' is nil.

git-archimport-id: mwolson@gnu.org--2005/muse--main--1.0--patch-100
ChangeLog
lisp/muse-mode.el
lisp/muse-project.el
lisp/muse-regexps.el
lisp/muse.el