From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5037 Path: main.gmane.org!not-for-mail From: justin@columbia.edu (Justin Zaglio) Newsgroups: gmane.emacs.gnus.general Subject: small patch for 0.34 gnus.el Date: 03 Feb 1996 19:30:26 -0500 Organization: Columbia University Message-ID: Reply-To: jez5@columbia.edu NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145696 31565 80.91.224.250 (20 Oct 2002 20:28:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:28:16 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.7.3/8.6.9) with SMTP id QAA20038 for ; Sat, 3 Feb 1996 16:51:49 -0800 Original-Received: from tenchi.schap.rhno.columbia.edu (justin@tenchi.schap.rhno.columbia.edu [128.59.222.121]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sun, 4 Feb 1996 01:29:07 +0100 Original-Received: (from justin@localhost) by tenchi.schap.rhno.columbia.edu (8.7.3/8.7.3) id TAA02290; Sat, 3 Feb 1996 19:30:30 -0500 Original-To: (ding) Gnus mailing list Original-Lines: 41 Xref: main.gmane.org gmane.emacs.gnus.general:5037 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5037 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.