[gnu.emacs.bug] Bug in mh-remove-folder-from-folder-list

pinkas@cad001.intel.com (Israel Pinkas ~) (11/15/89)

GNU Emacs 18.55

Killing a folder does not remove it from the list of available folders.
This is due to a bug in mh-remove-folder-from-folder-list, which removes
the leading '+' from the folder name before searching the folder list.

Patch follows.

Enjoy,

-Israel Pinkas
--------------------------------------------------
*** /usr/local/lib/emacs/lisp/mh-e.el     Thu Sep  1 11:21:53 1988
--- ./mh-e.el   Tue Nov 14 13:26:32 1989
***************
*** 2358,2364 ****
  (defun mh-remove-folder-from-folder-list (folder)
    ;; Remove FOLDER from the list of folders.
    (setq mh-folder-list
!       (delq (assoc (substring folder 1 nil) mh-folder-list)
              mh-folder-list)))



--- 2358,2364 ----
  (defun mh-remove-folder-from-folder-list (folder)
    ;; Remove FOLDER from the list of folders.
    (setq mh-folder-list
!       (delq (assoc folder mh-folder-list)
              mh-folder-list)))




--
--------------------------------------
Disclaimer: The above are my personal opinions, and in no way represent
the opinions of Intel Corporation.  In no way should the above be taken
to be a statement of Intel.

UUCP:	{amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!cadev4!pinkas
ARPA:	pinkas%cadev4.intel.com@relay.cs.net
CSNET:	pinkas@cadev4.intel.com