home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.gnus
- Path: sparky!uunet!cis.ohio-state.edu!bigbird.bu.edu!jbw
- From: jbw@bigbird.bu.edu (Joe Wells)
- Subject: Re: getting 2 .signatures
- Message-ID: <9208162257.AA11124@bigbird.bu.edu>
- Sender: daemon@cis.ohio-state.edu
- Organization: GNUs Not Usenet
- References: <KEVIN.92Aug11175832@buffalobill.edscom.demon.co.uk>
- Distribution: gnu
- Date: Sun, 16 Aug 1992 14:57:39 GMT
- Lines: 33
-
- In article <KEVIN.92Aug13094218@buffalobill.edscom.demon.co.uk> kevin@edscom.demon.co.uk (Kevin Broadey) writes:
-
- But if I do that, C-c C-w (mail-signature) in mail mode won't have
- anything to insert. I just checked in sendmail.el and there isn't a
- `mail-signature-file' variable - it uses "~/.signature" directly.
-
- Here's a patch. I would like to see this get into the Emacs distribution.
-
- --
- Joe Wells <jbw@cs.bu.edu>
- Member of the League for Programming Freedom --- send e-mail for details
- ----------------------------------------------------------------------
- --- emacs/jjj/emacs-18.58/lisp/sendmail.el Tue Jan 28 16:22:56 1992
- +++ sendmail.el Sun Aug 16 18:52:34 1992
- @@ -358,12 +358,15 @@
- (insert "\n" field ": ")))
- nil)))
-
- +(defvar mail-signature-file "~/.signature"
- + "File inserted as signature by \\[mail-signature].")
- +
- (defun mail-signature ()
- - "Sign letter with contents of ~/.signature file."
- + "Sign letter with contents of mail-signature-file."
- (interactive)
- (save-excursion
- (goto-char (point-max))
- - (insert-file-contents (expand-file-name "~/.signature"))))
- + (insert-file-contents (expand-file-name mail-signature-file))))
-
- (defun mail-fill-yanked-message (&optional justifyp)
- "Fill the paragraphs of a message yanked into this one.
- ----------------------------------------------------------------------
-