aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-04 05:33:32 +0000
committerRichard M. Stallman1993-06-04 05:33:32 +0000
commitabc01fb82ecfc6a2c1db1433d65689502e25f4f9 (patch)
treeef9ec4cb1d098c9a30efe5c9db6e6881293adb39
parent10608c8c2ae2d2f4049a07a80247670bf9cd532b (diff)
downloademacs-abc01fb82ecfc6a2c1db1433d65689502e25f4f9.tar.gz
emacs-abc01fb82ecfc6a2c1db1433d65689502e25f4f9.zip
(gnus-summary-isearch-article): Call isearch-forward
in ordinary fashion with no args. (gnus-inews-article-hook, gnus-prepare-article-hook): Initialize to a list. (gnus-read-newsrc-file): If timestamps are equal, reload .newsrc.
-rw-r--r--lisp/gnus.el23
1 files changed, 12 insertions, 11 deletions
diff --git a/lisp/gnus.el b/lisp/gnus.el
index c0b5def26ac..60cb1ec1606 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -1,6 +1,6 @@
1;;; GNUS: an NNTP-based News Reader for GNU Emacs 1;;; GNUS: an NNTP-based News Reader for GNU Emacs
2;; Copyright (C) 1987, 1988, 1989, 1990, 1993 Free Software Foundation, Inc. 2;; Copyright (C) 1987, 1988, 1989, 1990, 1993 Free Software Foundation, Inc.
3;; $Header: /home/fsf/rms/e19/lisp/RCS/gnus.el,v 1.15 1993/05/17 02:42:16 roland Exp rms $ 3;; $Header: /home/fsf/rms/e19/lisp/RCS/gnus.el,v 1.16 1993/05/30 23:56:49 rms Exp rms $
4 4
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
6 6
@@ -540,20 +540,20 @@ If you'd like to mark as unread (-) instead, use the following hook:
540 (gnus-summary-mark-as-unread gnus-current-article) 540 (gnus-summary-mark-as-unread gnus-current-article)
541 (gnus-summary-set-current-mark \"+\"))))") 541 (gnus-summary-set-current-mark \"+\"))))")
542 542
543(defvar gnus-prepare-article-hook (function gnus-inews-insert-signature) 543(defvar gnus-prepare-article-hook (list (function gnus-inews-insert-signature))
544 "*A hook called after preparing body, but before preparing header fields. 544 "*A hook called after preparing body, but before preparing header fields.
545The default hook (gnus-inews-insert-signature) inserts a signature 545The default hook (`gnus-inews-insert-signature') inserts a signature
546file specified by the variable gnus-signature-file.") 546file specified by the variable `gnus-signature-file'.")
547 547
548(defvar gnus-inews-article-hook (function gnus-inews-do-fcc) 548(defvar gnus-inews-article-hook (list (function gnus-inews-do-fcc))
549 "*A hook called before finally posting an article. 549 "*A hook called before finally posting an article.
550The default hook (gnus-inews-do-fcc) does FCC processing (save article 550The default hook (`gnus-inews-do-fcc') does FCC processing (save article
551to a file).") 551to a file).")
552 552
553(defvar gnus-exit-group-hook nil 553(defvar gnus-exit-group-hook nil
554 "*A hook called when exiting (not quitting) Summary mode. 554 "*A hook called when exiting (not quitting) Summary mode.
555If your machine is so slow that exiting from Summary mode takes very 555If your machine is so slow that exiting from Summary mode takes very
556long time, set the variable gnus-use-cross-reference to nil. This 556long time, set the variable `gnus-use-cross-reference' to nil. This
557inhibits marking articles as read using cross-reference information.") 557inhibits marking articles as read using cross-reference information.")
558 558
559(defvar gnus-suspend-gnus-hook nil 559(defvar gnus-suspend-gnus-hook nil
@@ -564,7 +564,7 @@ inhibits marking articles as read using cross-reference information.")
564 564
565(defvar gnus-save-newsrc-hook nil 565(defvar gnus-save-newsrc-hook nil
566 "*A hook called when saving the newsrc file. 566 "*A hook called when saving the newsrc file.
567This hook is called before saving .newsrc file.") 567This hook is called before saving the `.newsrc' file.")
568 568
569 569
570;; Site dependent variables. You have to define these variables in 570;; Site dependent variables. You have to define these variables in
@@ -2945,8 +2945,7 @@ NOTE: This command may not work with nnspool.el nor mhspool.el."
2945 (interactive) 2945 (interactive)
2946 (gnus-summary-select-article) 2946 (gnus-summary-select-article)
2947 (gnus-eval-in-buffer-window gnus-article-buffer 2947 (gnus-eval-in-buffer-window gnus-article-buffer
2948 (call-interactively 'isearch-forward) 2948 (isearch-forward)))
2949 ))
2950 2949
2951(defun gnus-summary-search-article-forward (regexp) 2950(defun gnus-summary-search-article-forward (regexp)
2952 "Search for an article containing REGEXP forward. 2951 "Search for an article containing REGEXP forward.
@@ -6487,7 +6486,9 @@ If optional argument RAWFILE is non-nil, the raw startup file is read."
6487 (error nil)) 6486 (error nil))
6488 (cond ((and (not rawfile) ;Not forced to read the raw file. 6487 (cond ((and (not rawfile) ;Not forced to read the raw file.
6489 ;; .newsrc.el is newer than .newsrc. 6488 ;; .newsrc.el is newer than .newsrc.
6490 (file-newer-than-file-p quick-file newsrc-file) 6489 ;; Do it this way in case timestamps are identical
6490 ;; (on fast machines/disks).
6491 (not (file-newer-than-file-p newsrc-file quick-file))
6491 quick-loaded 6492 quick-loaded
6492 gnus-newsrc-assoc ;Really loaded? 6493 gnus-newsrc-assoc ;Really loaded?
6493 ) 6494 )