muse-project: Fix bug with project file-alist and multiple saved files
commitc5aea187b46ddf9118b29ff9dcda22536ecf0214
authorMichael W. Olson <mwolson@member.fsf.org>
Fri, 12 Oct 2007 22:40:13 +0000 (12 18:40 -0400)
committerMichael W. Olson <mwolson@member.fsf.org>
Fri, 12 Oct 2007 22:40:13 +0000 (12 18:40 -0400)
tree5b3dcdf36b953b4011a78ff66329128bd36b9bb9
parent840c88ebae9e39a6552a016aa3c64fb9c8fb672b
muse-project: Fix bug with project file-alist and multiple saved files

* lisp/muse-project.el (muse-project-determine-last-mod): New function
  split from muse-project-file-alist.
  (muse-project-file-alist): Improve docstring.
  (muse-project-add-to-alist): New function that ensures that the current
  file is added the its project file-alist.
  (muse-project-after-save-hook): Call muse-project-add-to-alist instead
  of muse-project-file-alist.  This fixes an issue where if several files
  were being saved at once, only the first would make it into the project
  file-alist.
ChangeLog
lisp/muse-project.el