aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-30 22:56:31 +0000
committerRichard M. Stallman1993-05-30 22:56:31 +0000
commite0bb8cded96d34c0ade8b3438a5e018ccadf0841 (patch)
treefeffbff8d2b763fe3cdf33817a5a78e8dc0f734e
parent96160d2122d68d414fecdeb8418f98476d2c3709 (diff)
downloademacs-e0bb8cded96d34c0ade8b3438a5e018ccadf0841.tar.gz
emacs-e0bb8cded96d34c0ade8b3438a5e018ccadf0841.zip
(mh-signature-file-name): New variable.
mh-e version 3.8.2.
-rw-r--r--lisp/mh-e.el18
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/mh-e.el b/lisp/mh-e.el
index f4ef521a1b0..c426feb0b8d 100644
--- a/lisp/mh-e.el
+++ b/lisp/mh-e.el
@@ -2,10 +2,10 @@
2 2
3;;; Copyright (C) 1985, 86, 87, 88, 90, 92, 93 Free Software Foundation 3;;; Copyright (C) 1985, 86, 87, 88, 90, 92, 93 Free Software Foundation
4 4
5(defconst mh-e-time-stamp "Time-stamp: <93/05/27 18:02:50 gildea>") 5(defconst mh-e-time-stamp "Time-stamp: <93/05/30 18:37:43 gildea>")
6 6
7;; Maintainer: Stephen Gildea <gildea@lcs.mit.edu> 7;; Maintainer: Stephen Gildea <gildea@lcs.mit.edu>
8;; Version: 3.8.1 8;; Version: 3.8.2
9;; Keywords: mail 9;; Keywords: mail
10 10
11;; GNU Emacs is distributed in the hope that it will be useful, 11;; GNU Emacs is distributed in the hope that it will be useful,
@@ -48,7 +48,7 @@
48;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. 48;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985.
49;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu 49;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu
50;;; Modified by Stephen Gildea 1988. gildea@bbn.com 50;;; Modified by Stephen Gildea 1988. gildea@bbn.com
51(defconst mh-e-RCS-id "$Header: mh-e.el,v 3.9 93/01/11 11:49:18 gildea Exp $") 51(defconst mh-e-RCS-id "$Header: mh-e.el,v 3.6.1.1 93/05/30 07:36:57 gildea Exp $")
52 52
53;;; Code: 53;;; Code:
54 54
@@ -174,6 +174,10 @@ value and it should be one of \"from\", \"to\", or \"cc\".")
174(defvar mh-unshar-default-directory "" 174(defvar mh-unshar-default-directory ""
175 "*Default for directory name prompted for by mh-unshar-msg.") 175 "*Default for directory name prompted for by mh-unshar-msg.")
176 176
177(defvar mh-signature-file-name "~/.signature"
178 "*Name of file containing the user's signature.
179Inserted into message by \\<mh-letter-mode-map>\\[mh-insert-signature].")
180
177 181
178;;; Parameterize mh-e to work with different scan formats. The defaults work 182;;; Parameterize mh-e to work with different scan formats. The defaults work
179;;; with the standard MH scan listings. 183;;; with the standard MH scan listings.
@@ -1824,6 +1828,9 @@ Variables controlling this mode (defaults in parentheses):
1824 If nil, only the portion of the message following the point will be yanked. 1828 If nil, only the portion of the message following the point will be yanked.
1825 If there is a region, this variable is ignored. 1829 If there is a region, this variable is ignored.
1826 1830
1831 mh-signature-file-name (\"~/.signature\")
1832 File to be inserted into message by \\[mh-insert-signature].
1833
1827Upon invoking mh-letter-mode, text-mode-hook and mh-letter-mode-hook are 1834Upon invoking mh-letter-mode, text-mode-hook and mh-letter-mode-hook are
1828invoked with no args, if those values are non-nil. 1835invoked with no args, if those values are non-nil.
1829 1836
@@ -1913,9 +1920,9 @@ Prompt for the field name with a completion list of the current folders."
1913 1920
1914 1921
1915(defun mh-insert-signature () 1922(defun mh-insert-signature ()
1916 "Insert the file ~/.signature at the current point." 1923 "Insert the file named by mh-signature-file-name at the current point."
1917 (interactive) 1924 (interactive)
1918 (insert-file-contents "~/.signature") 1925 (insert-file-contents mh-signature-file-name)
1919 (set-buffer-modified-p (buffer-modified-p))) ; force mode line update 1926 (set-buffer-modified-p (buffer-modified-p))) ; force mode line update
1920 1927
1921 1928
@@ -2924,4 +2931,3 @@ Assumes that any filename that starts with '+' is a folder name."
2924(provide 'mh-e) 2931(provide 'mh-e)
2925 2932
2926;;; mh-e.el ends here 2933;;; mh-e.el ends here
2927