Gnus development mailing list
 help / color / mirror / Atom feed
* small patch for 0.34 gnus.el
@ 1996-02-04  0:30 Justin Zaglio
  0 siblings, 0 replies; only message in thread
From: Justin Zaglio @ 1996-02-04  0:30 UTC (permalink / raw)


Hi, all!

This is my first time posting to this list, so please forgive me if I
do anything horribly wrong.  

I just upgraded from .32 to .34 and found that I couldn't quit summary
buffers ('q') if I hadn't read any articles.  In order to quit the
summary buffer, I'd have to pull up an article (granted, not the end
of the world, but annoying).  It looks like bury-buffer is dying if it
can't find gnus-article-buffer (*Article*).

Anyway, here's my quickie patch.  Hope it helps.

->justin

============================================================

--- gnus.el	Sat Feb  3 19:20:42 1996
+++ gnus.el.orig	Sat Feb  3 09:27:10 1996
@@ -9433,9 +9433,7 @@
 	;; not garbage-collected, it seems.  This would the lead to en
 	;; ever-growing Emacs.
 	(gnus-summary-clear-local-variables)
-	;; if the *Article* buffer exists, bury it at exit
-	(if (get-buffer gnus-article-buffer)
-	    (bury-buffer gnus-article-buffer))
+	(bury-buffer gnus-article-buffer)
 	;; We clear the global counterparts of the buffer-local
 	;; variables as well, just to be on the safe side.
 	(gnus-configure-windows 'group 'force)
@@ -9484,9 +9482,7 @@
 	  (kill-buffer gnus-summary-buffer)))
       (when gnus-use-trees
 	(gnus-tree-close group))
-	;; if the *Article* buffer exists, bury it at exit
-	(if (get-buffer gnus-article-buffer)
-	    (bury-buffer gnus-article-buffer))
+      (bury-buffer gnus-article-buffer)
       ;; Return to the group buffer.
       (gnus-configure-windows 'group 'force)
       ;; Clear the current group name.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-02-04  0:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-04  0:30 small patch for 0.34 gnus.el Justin Zaglio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).