;;; Maintainer: KOBAYASHI Shuhei <shuhei-k@jaist.ac.jp>
;;; Created: 1994/7/11
;;; Version:
-;;; $Id: signature.el,v 7.10 1996/05/28 03:04:34 morioka Exp $
+;;; $Id: signature.el,v 7.11 1996/07/10 13:45:06 shuhei-k Exp $
;;; Keywords: mail, news, signature
;;;
;;; This file is part of tm (Tools for MIME).
;;;
(defvar signature-insert-at-eof nil
- "*Insert signature at the end of file if non-nil.")
+ "*If non-nil, insert signature at the end of file.")
(defvar signature-delete-blank-lines-at-eof nil
"*If non-nil, signature-insert-at-eof deletes blank lines at the end
(defun insert-signature (&optional arg)
"Insert the file named by signature-file-name.
-It is inserted at the end of file if signature-insert-at-eof in non-nil,
+It is inserted at the end of file if signature-insert-at-eof is non-nil,
and otherwise at the current point. A prefix argument enables user to
specify a file named <signature-file-name>-DISTRIBUTION interactively."
(interactive "P")
(progn
(goto-char (point-max))
(or (bolp) (insert "\n"))
- (or signature-delete-blank-lines-at-eof (delete-blank-lines))
+ (if signature-delete-blank-lines-at-eof (delete-blank-lines))
))
(run-hooks 'signature-insert-hook)
(insert-file-contents signature-file-name)