comparison lisp/mh-e/mh-comp.el @ 68528:bd5e46db392c

(mh-send-sub): Don't find components file in current directory--this seems to have been a side-effect of commenting out the use of an old mh-etc variable. Improve error message.
author Bill Wohler <wohler@newt.com>
date Wed, 01 Feb 2006 23:17:50 +0000
parents 18444e32999b
children 7daec5f4a289
comparison
equal deleted inserted replaced
68527:e66f443e6371 68528:bd5e46db392c
757 components) 757 components)
758 ((file-exists-p 758 ((file-exists-p
759 (setq components 759 (setq components
760 (expand-file-name mh-comp-formfile mh-lib))) 760 (expand-file-name mh-comp-formfile mh-lib)))
761 components) 761 components)
762 ((file-exists-p
763 (setq components
764 (expand-file-name mh-comp-formfile
765 ;; What is this mh-etc ?? -sm
766 ;; This is dead code, so
767 ;; remove it.
768 ;(and (boundp 'mh-etc) mh-etc)
769 )))
770 components)
771 (t 762 (t
772 (error "Can't find components file \"%s\"" 763 (error "Can't find %s in %s or %s"
773 components)))) 764 mh-comp-formfile mh-user-path mh-lib))))
774 nil))) 765 nil)))
775 (mh-insert-fields "To:" to "Subject:" subject "Cc:" cc) 766 (mh-insert-fields "To:" to "Subject:" subject "Cc:" cc)
776 (goto-char (point-max)) 767 (goto-char (point-max))
777 (mh-compose-and-send-mail draft "" folder msg-num 768 (mh-compose-and-send-mail draft "" folder msg-num
778 to subject cc 769 to subject cc