aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e
diff options
context:
space:
mode:
authorSam Steingold2017-11-22 16:05:45 -0500
committerSam Steingold2017-11-22 16:14:36 -0500
commit72688426cef4e5128ce68f75cb8a3f31572daec0 (patch)
treebdef625dc3dcd1b365da7ab87bb483e8f7c09d8b /lisp/mh-e
parent6710c265aa300bd29e5841a88c03ca101d3d1f75 (diff)
downloademacs-72688426cef4e5128ce68f75cb8a3f31572daec0.tar.gz
emacs-72688426cef4e5128ce68f75cb8a3f31572daec0.zip
Remove *-yank-hooks aliases for -citation-hook, obsolete since 19.34.
* lisp/simple.el (compose-mail): Use `mail-citation-hook' instead of `mail-yank-hooks'. * lisp/mail/sendmail.el (mail-yank-hooks): Remove. (mail-yank-original, mail-yank-region): Drop `mail-yank-hooks'. * lisp/mh-e/mh-letter.el (mh-yank-hooks): Remove. (mh-insert-prefix-string): Drop `mh-yank-hooks'.
Diffstat (limited to 'lisp/mh-e')
-rw-r--r--lisp/mh-e/mh-letter.el13
1 files changed, 0 insertions, 13 deletions
diff --git a/lisp/mh-e/mh-letter.el b/lisp/mh-e/mh-letter.el
index 28c18e4dd2f..871ba49522a 100644
--- a/lisp/mh-e/mh-letter.el
+++ b/lisp/mh-e/mh-letter.el
@@ -60,17 +60,6 @@
60 (to . mh-alias-letter-expand-alias)) 60 (to . mh-alias-letter-expand-alias))
61 "Alist of header fields and completion functions to use.") 61 "Alist of header fields and completion functions to use.")
62 62
63(defvar mh-yank-hooks nil
64 "Obsolete hook for modifying a citation just inserted in the mail buffer.
65
66Each hook function can find the citation between point and mark.
67And each hook function should leave point and mark around the
68citation text as modified.
69
70This is a normal hook, misnamed for historical reasons.
71It is obsolete and is only used if `mail-citation-hook' is nil.")
72(mh-make-obsolete-variable 'mh-yank-hooks 'mail-citation-hook "19.34")
73
74 63
75 64
76;;; Letter Menu 65;;; Letter Menu
@@ -972,8 +961,6 @@ Otherwise, simply insert MH-INS-STRING before each line."
972 (sc-cite-original)) 961 (sc-cite-original))
973 (mail-citation-hook 962 (mail-citation-hook
974 (run-hooks 'mail-citation-hook)) 963 (run-hooks 'mail-citation-hook))
975 (mh-yank-hooks ;old hook name
976 (run-hooks 'mh-yank-hooks))
977 (t 964 (t
978 (or (bolp) (forward-line 1)) 965 (or (bolp) (forward-line 1))
979 (while (< (point) (point-max)) 966 (while (< (point) (point-max))