aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-12-01 14:10:19 +0100
committerLars Ingebrigtsen2021-12-01 14:41:42 +0100
commit3bc0768e9b82feaf5ce1665227055e97e72af164 (patch)
tree36f7c3db663776988f2e6b3762e7ff1d5d982cfe
parent2d60566c8787b63b5e4e2958e9ec9f55fbcf9e87 (diff)
downloademacs-3bc0768e9b82feaf5ce1665227055e97e72af164.tar.gz
emacs-3bc0768e9b82feaf5ce1665227055e97e72af164.zip
Enable gnus-treat-fold-headers by default
* lisp/gnus/gnus-art.el (gnus-treat-fold-headers): Change default to `head'.
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/gnus/gnus-art.el4
2 files changed, 5 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d786d17f21e..352d1896129 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -374,6 +374,9 @@ following in your .gnus file:
374 (set-face-attribute 'gnus-header nil :inherit 'unspecified) 374 (set-face-attribute 'gnus-header nil :inherit 'unspecified)
375 375
376--- 376---
377*** The default value of 'gnus-treat-fold-headers' is now 'head'.
378
379---
377*** New face 'gnus-header'. 380*** New face 'gnus-header'.
378All other 'gnus-header-*' faces inherit from this face now. 381All other 'gnus-header-*' faces inherit from this face now.
379 382
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 8b2b7ade294..554381e2120 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1383,11 +1383,11 @@ This variable has no effect if `gnus-treat-unfold-headers' is nil."
1383 (const :tag "all" t) 1383 (const :tag "all" t)
1384 (regexp))) 1384 (regexp)))
1385 1385
1386(defcustom gnus-treat-fold-headers nil 1386(defcustom gnus-treat-fold-headers 'head
1387 "Fold headers. 1387 "Fold headers.
1388Valid values are nil, t, `head', `first', `last', an integer or a 1388Valid values are nil, t, `head', `first', `last', an integer or a
1389predicate. See Info node `(gnus)Customizing Articles'." 1389predicate. See Info node `(gnus)Customizing Articles'."
1390 :version "22.1" 1390 :version "29.1"
1391 :group 'gnus-article-treat 1391 :group 'gnus-article-treat
1392 :link '(custom-manual "(gnus)Customizing Articles") 1392 :link '(custom-manual "(gnus)Customizing Articles")
1393 :type gnus-article-treat-custom) 1393 :type gnus-article-treat-custom)