;;; Maintainer: KOBAYASHI Shuhei <shuhei-k@jaist.ac.jp>
;;; Created: 1994/7/11
;;; Version:
-;;; $Id: signature.el,v 7.9 1996/04/19 18:12:43 morioka Exp $
+;;; $Id: signature.el,v 7.10 1996/05/28 03:04:34 morioka Exp $
;;; Keywords: mail, news, signature
;;;
;;; This file is part of tm (Tools for MIME).
and otherwise at the current point. A prefix argument enables user to
specify a file named <signature-file-name>-DISTRIBUTION interactively."
(interactive "P")
- (let ((signature
+ (let ((signature-file-name
(expand-file-name
(or (and signature-use-bbdb
(signature/get-sigtype-from-bbdb arg))
(signature/get-sigtype-interactively))
(signature/get-signature-file-name))
)))
- (or (file-readable-p signature)
- (error "Cannot open signature file: %s" signature))
+ (or (file-readable-p signature-file-name)
+ (error "Cannot open signature file: %s" signature-file-name))
(if signature-insert-at-eof
(progn
(goto-char (point-max))
(or signature-delete-blank-lines-at-eof (delete-blank-lines))
))
(run-hooks 'signature-insert-hook)
- (insert-file-contents signature)
+ (insert-file-contents signature-file-name)
(force-mode-line-update)
- signature))
+ signature-file-name))
;;; @ end