summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2026-06-03 02:13:03 +0800
committerJSDurand <mmemmew@gmail.com>2026-06-03 02:13:03 +0800
commit101d1dea204d53b8043376d0df87f360258dddfe (patch)
tree6fbaacfc49ea767217e49786e52dc2dd6061d469
parentbaaf778aa2a1d2f8b38d4671f59b88a7340d281d (diff)
dashboard + init: gnus-unplugged instead of gnus
* dashboard.el (m): * init.el: Replace gnus by gnus-unplugged. I found that I really want to start gnus without being plugged, as I only occassionally want gnus to fetch from the source directly. Other times the mails are fetched by other programs, and gnus only needs to read and do other things.
-rw-r--r--dashboard.el4
-rw-r--r--init.el8
2 files changed, 5 insertions, 7 deletions
diff --git a/dashboard.el b/dashboard.el
index ae2a081..ba2468d 100644
--- a/dashboard.el
+++ b/dashboard.el
@@ -159,8 +159,6 @@ common functionalities more conveniently."
mode-line-format
(list "%e" (list :eval (list 'modeline-format-dashboard)))))
-()
-
(let ((m dashboard-mode-map))
(define-key m (vector ?l) #'blist)
(define-key m (vector ?L) #'rlist-list-registers)
@@ -169,7 +167,7 @@ common functionalities more conveniently."
(define-key m (vector ?T) #'modeline-toggle)
(define-key m (vector ?t) #'durand-view-timers-or-temps)
(define-key m (vector ?o) #'durand-open-object)
- (define-key m (vector ?g) #'gnus)
+ (define-key m (vector ?g) #'gnus-unplugged)
(define-key m (vector ?h) #'durand-ibuffer)
(define-key m (vector ?e) #'eshell)
(define-key m (vector ?f) #'find-file)
diff --git a/init.el b/init.el
index bdd2270..3e4b3d6 100644
--- a/init.el
+++ b/init.el
@@ -240,11 +240,11 @@ no effect."
;;; gnus
-(load-after-function gnus "gnus-conf.el"
- "Fake function to load gnus." nil (gnus))
+(load-after-function gnus-unplugged "gnus-conf.el"
+ "Fake function to load gnus." nil (gnus-unplugged))
-(define-key global-map (vector 3 ?g) #'gnus)
-(define-key global-map (vector ?\H-g) #'gnus)
+(define-key global-map (vector 3 ?g) #'gnus-unplugged)
+(define-key global-map (vector ?\H-g) #'gnus-unplugged)
;;; Completion framework configurations