[gnus git] branch master updated: n0-17-341-ge21c358 =2= * gnus-win.el (gnus-configure-windows): Protect against reading ephemeral groups outside of Gnus. ; * gnus.texi (Gnus Utility Functions): Add more references and explanations (bug#9683).

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  e21c35807d944425675cadbd9e486398fb499656 (commit)
       via  c3336c853e85863bf278962e811dcd78800a6990 (commit)
      from  cd77bea7d3620c386fcdbc1b4d020ce4bcf8f779 (commit)


- Log -----------------------------------------------------------------
commit e21c35807d944425675cadbd9e486398fb499656
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Oct 6 22:21:35 2011 +0200

    * gnus-win.el (gnus-configure-windows): Protect against reading ephemeral groups outside of Gnus.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ee91cdf..ba5421b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-06  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus-win.el (gnus-configure-windows): Protect against reading
+	ephemeral groups outside of Gnus.
+
 2011-10-06  Katsumi Yamaoka  <[email protected]>
 
 	* shr.el (shr-tag-img): Don't get images displayed in tables.
diff --git a/lisp/gnus-win.el b/lisp/gnus-win.el
index c38f57d..a1a8abc 100644
--- a/lisp/gnus-win.el
+++ b/lisp/gnus-win.el
@@ -358,8 +358,13 @@ See the Gnus manual for an explanation of the syntax used.")
 (defvar gnus-frame-split-p nil)
 
 (defun gnus-configure-windows (setting &optional force)
-  (if (window-configuration-p setting)
-      (set-window-configuration setting)
+  (cond
+   ((null setting)
+    ;; Do nothing.
+    )
+   ((window-configuration-p setting)
+    (set-window-configuration setting))
+   (t
     (setq gnus-current-window-configuration setting)
     (setq force (or force gnus-always-force-window-configuration))
     (let ((split (if (symbolp setting)
@@ -410,7 +415,7 @@ See the Gnus manual for an explanation of the syntax used.")
           (run-hooks 'gnus-configure-windows-hook)
           (when gnus-window-frame-focus
             (gnus-select-frame-set-input-focus
-             (window-frame gnus-window-frame-focus))))))))
+             (window-frame gnus-window-frame-focus)))))))))
 
 (defun gnus-delete-windows-in-gnusey-frames ()
   "Do a `delete-other-windows' in all frames that have Gnus windows."

commit c3336c853e85863bf278962e811dcd78800a6990
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Oct 6 21:58:11 2011 +0200

    * gnus.texi (Gnus Utility Functions): Add more references and explanations (bug#9683).

diff --git a/texi/ChangeLog b/texi/ChangeLog
index b025594..cfa6f6f 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-06  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus.texi (Gnus Utility Functions): Add more references and
+	explanations (bug#9683).
+
 2011-09-21  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* gnus.texi (Archived Messages): Note the default (bug#9552).
diff --git a/texi/gnus.texi b/texi/gnus.texi
index 380b5ef..6c25e04 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -29093,7 +29093,7 @@ Takes an unprefixed group name and a select method, and returns the full
 
 @item gnus-get-info
 @findex gnus-get-info
-Returns the group info list for @var{group}.
+Returns the group info list for @var{group} (@pxref{Group Info}).
 
 @item gnus-group-unread
 @findex gnus-group-unread
@@ -29102,7 +29102,8 @@ unknown.
 
 @item gnus-active
 @findex gnus-active
-The active entry for @var{group}.
+The active entry (i.e., a cons cell containing the lowest and highest
+article numbers) for @var{group}.
 
 @item gnus-set-active
 @findex gnus-set-active
@@ -29137,7 +29138,9 @@ Returns the select method corresponding to @var{server}.
 
 @item gnus-server-equal
 @findex gnus-server-equal
-Says whether two virtual servers are equal.
+Says whether two virtual servers are essentially equal.  For instance,
+two virtual servers may have server parameters in different order, but
+this function will consider them equal.
 
 @item gnus-group-native-p
 @findex gnus-group-native-p
@@ -29153,8 +29156,9 @@ Says whether @var{group} is foreign or not.
 
 @item gnus-group-find-parameter
 @findex gnus-group-find-parameter
-Returns the parameter list of @var{group}.  If given a second parameter,
-returns the value of that parameter for @var{group}.
+Returns the parameter list of @var{group} (@pxref{Group Parameters}).
+If given a second parameter, returns the value of that parameter for
+@var{group}.
 
 @item gnus-group-set-parameter
 @findex gnus-group-set-parameter

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    5 +++++
 lisp/gnus-win.el |   11 ++++++++---
 texi/ChangeLog   |    5 +++++
 texi/gnus.texi   |   14 +++++++++-----
 4 files changed, 27 insertions(+), 8 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.