Daniel Barrett <[email protected]> writes:
> I'm trying to keep track of the last folder name that received a saved > message, so I can restore it after a save: > > (setq default vm-last-save-folder) > (vm-save-message 'my-other-folder) > (setq vm-last-save-folder default) > > However, vm-last-save-folder always ends up blank. What am I doing > wrong? > > Thanks, > Dan > vm-last-save-folder is a buffer-local variable. It is defined in the buffer that contails the mail folder, but not in the Summary or Presentation buffer. So I guess you are in either of these when you are trying this construction. So maybe you have to add a (vm-select-folder-buffer) somewhere. -- Piet van Oostrum <[email protected]> WWW: http://pietvanoostrum.com/ PGP key: [8DAE142BE17999C4]
