diff options
author | Glenn Morris <rgm@gnu.org> | 2009-07-21 04:47:34 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-07-21 04:47:34 +0000 |
commit | fdd8417e493bb7804c61d08914f4c3ddad347c6e (patch) | |
tree | 8f7cb86531a07d31f32f1e78dfed9fafeb72ac0c /lisp/printing.el | |
parent | 4ed32706c7ebe0e0823a575e5f439fd4fe8f3f7a (diff) | |
download | emacs-fdd8417e493bb7804c61d08914f4c3ddad347c6e.tar.gz |
(pr-mh-get-msg-num, pr-mh-show)
(pr-mh-start-of-uncleaned-message): Remove aliases only used to
silence compiler. Instead...
(mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
(mh-show-buffer): Only define for compiler.
(pr-mh-current-message): Update for above function name changes.
Diffstat (limited to 'lisp/printing.el')
-rw-r--r-- | lisp/printing.el | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/printing.el b/lisp/printing.el index 53167aa4ef3..5d101b40b2a 100644 --- a/lisp/printing.el +++ b/lisp/printing.el @@ -4956,11 +4956,10 @@ Or choose the menu option Printing/Show Settings/lpr." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; mh-e (adapted from mh-e-init.el -- Tom Vogels <tov@ece.cmu.edu>) - -(defalias 'pr-mh-get-msg-num 'mh-get-msg-num) -(defalias 'pr-mh-show 'mh-show) -(defalias 'pr-mh-start-of-uncleaned-message 'mh-start-of-uncleaned-message) -(defvar mh-show-buffer nil) +(declare-function mh-get-msg-num "mh-utils" (error-if-no-message)) +(declare-function mh-show "mh-show" (&optional message redisplay-flag)) +(declare-function mh-start-of-uncleaned-message "mh-show" ()) +(defvar mh-show-buffer) (defun pr-article-date () @@ -4976,11 +4975,11 @@ Return only the dayname, if present, weekday, month, and year." (defun pr-mh-current-message () "Go to mh-inbox current message." - (let ((msg (or (pr-mh-get-msg-num nil) 0))) - (pr-mh-show) + (let ((msg (or (mh-get-msg-num nil) 0))) + (mh-show) (set-buffer mh-show-buffer) (goto-char (point-min)) - (pr-mh-start-of-uncleaned-message) + (mh-start-of-uncleaned-message) (message "Printing message %d" msg))) |