aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/auth-source.el8
-rw-r--r--lisp/gnus/gnus-sum.el6
-rw-r--r--lisp/gnus/gnus.el4
3 files changed, 11 insertions, 7 deletions
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index a0be0ca8ba4..c0464e2c53f 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -430,8 +430,12 @@ MODE can be \"login\" or \"password\"."
430 (and found (return found))) 430 (and found (return found)))
431 431
432 ;; We haven't found something, so we will create it interactively. 432 ;; We haven't found something, so we will create it interactively.
433 (when (and (not found) choices create-missing) 433 (when (and (not found) create-missing)
434 (setq found (apply 'auth-source-create mode (car choices) search))) 434 (setq found (apply 'auth-source-create
435 mode (if choices
436 (car choices)
437 (car auth-sources))
438 search)))
435 439
436 ;; Cache the result. 440 ;; Cache the result.
437 (when found 441 (when found
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 195c7249778..2f8abe61ee9 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -451,8 +451,10 @@ and non-`vertical', do both horizontal and vertical recentering."
451 (integer :tag "height") 451 (integer :tag "height")
452 (sexp :menu-tag "both" t))) 452 (sexp :menu-tag "both" t)))
453 453
454(defvar gnus-auto-center-group t 454(defcustom gnus-auto-center-group t
455 "*If non-nil, always center the group buffer.") 455 "If non-nil, always center the group buffer."
456 :group 'gnus-summary-maneuvering
457 :type 'boolean)
456 458
457(defcustom gnus-show-all-headers nil 459(defcustom gnus-show-all-headers nil
458 "*If non-nil, don't hide any headers." 460 "*If non-nil, don't hide any headers."
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 0c01d599cfc..ee504597535 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -3862,9 +3862,7 @@ The function `gnus-group-find-parameter' will do that for you."
3862 ;; Expand if necessary. 3862 ;; Expand if necessary.
3863 (if (and (stringp result) (string-match "\\\\[0-9&]" result)) 3863 (if (and (stringp result) (string-match "\\\\[0-9&]" result))
3864 (setq result (gnus-expand-group-parameter (car head) 3864 (setq result (gnus-expand-group-parameter (car head)
3865 result group))) 3865 result group))))))
3866 ;; Exit the loop early.
3867 (setq tail nil))))
3868 ;; Done. 3866 ;; Done.
3869 result)))) 3867 result))))
3870 3868