aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-08-09 11:39:01 +0000
committerRichard M. Stallman2005-08-09 11:39:01 +0000
commit1eb6c5b8c6fa28f072e938aba2a0920995d1daf7 (patch)
treee6e8a8e4a1d0ef62d433798f5667a79195588e19
parent9c6f79c2f219bf0dc80dc2afcd2bcf15db1ce7ac (diff)
downloademacs-1eb6c5b8c6fa28f072e938aba2a0920995d1daf7.tar.gz
emacs-1eb6c5b8c6fa28f072e938aba2a0920995d1daf7.zip
(sc-ask, sc-no-blank-line-or-header): Avoid warnings.
-rw-r--r--lisp/mail/supercite.el15
1 files changed, 8 insertions, 7 deletions
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el
index f172f95e661..a180c6c67ce 100644
--- a/lisp/mail/supercite.el
+++ b/lisp/mail/supercite.el
@@ -643,8 +643,8 @@ the list should be unique."
643 (prog1 quit-flag (setq quit-flag nil))) 643 (prog1 quit-flag (setq quit-flag nil)))
644 (progn 644 (progn
645 (message "%s%s" p (single-key-description event)) 645 (message "%s%s" p (single-key-description event))
646 (and (fboundp 'deallocate-event) 646 (if (fboundp 'deallocate-event)
647 (deallocate-event event)) 647 (deallocate-event event))
648 (setq quit-flag nil) 648 (setq quit-flag nil)
649 (signal 'quit '()))) 649 (signal 'quit '())))
650 (let ((char 650 (let ((char
@@ -659,8 +659,8 @@ the list should be unique."
659 ((setq elt (rassq char alist)) 659 ((setq elt (rassq char alist))
660 (message "%s%s" p (car elt)) 660 (message "%s%s" p (car elt))
661 (setq p (cdr elt))) 661 (setq p (cdr elt)))
662 ((and (fboundp 'button-release-event-p) 662 ((if (fboundp 'button-release-event-p)
663 (button-release-event-p event)) ; ignore them 663 (button-release-event-p event)) ; ignore them
664 nil) 664 nil)
665 (t 665 (t
666 (message "%s%s" p (single-key-description event)) 666 (message "%s%s" p (single-key-description event))
@@ -670,8 +670,8 @@ the list should be unique."
670 (discard-input) 670 (discard-input)
671 (if (eq p prompt) 671 (if (eq p prompt)
672 (setq p (concat "Try again. " prompt))))))) 672 (setq p (concat "Try again. " prompt)))))))
673 (and (fboundp 'deallocate-event) 673 (if (fboundp 'deallocate-event)
674 (deallocate-event event)) 674 (deallocate-event event))
675 p)) 675 p))
676 676
677(defun sc-scan-info-alist (alist) 677(defun sc-scan-info-alist (alist)
@@ -1517,7 +1517,8 @@ non-nil."
1517 (progn (forward-line -1) 1517 (progn (forward-line -1)
1518 (or (= (point) (mail-header-end)) 1518 (or (= (point) (mail-header-end))
1519 (and (eq major-mode 'mh-letter-mode) 1519 (and (eq major-mode 'mh-letter-mode)
1520 (mh-in-header-p))))) 1520 (with-no-warnings
1521 (mh-in-header-p))))))
1521 (progn (forward-line) 1522 (progn (forward-line)
1522 (let ((kill-lines-magic t)) 1523 (let ((kill-lines-magic t))
1523 (kill-line)))))) 1524 (kill-line))))))