summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dashboard.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/dashboard.el b/dashboard.el
index afedd7c..8dc698f 100644
--- a/dashboard.el
+++ b/dashboard.el
@@ -133,6 +133,7 @@ If FORCE is non-nil, re-gerenate the dashboard buffer."
(propertize
"ॐ मणिपद्मे हूम्"
'face (list :height 600))))
+ (goto-char (point-min))
(set-buffer-modified-p nil)
(read-only-mode 1)
(set
@@ -153,7 +154,10 @@ The main purpose is to provide a dedicated keymap to access
common functionalities more conveniently."
(font-lock-mode -1)
(setq buffer-undo-list t)
- (setq-local cursor-type nil))
+ (setq-local cursor-type nil)
+ (setq-local
+ mode-line-format
+ (list "%e" (list :eval (list 'modeline-format-dashboard)))))
(let ((m dashboard-mode-map))
(define-key m (vector ?l) #'blist)