From 93517eb8541236492672ebb00caf38f19ee8f9af Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 12 May 2019 01:14:48 +0800 Subject: [PATCH] Change the segment name of info to info-nodes. --- doom-modeline-segments.el | 4 ++-- doom-modeline.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 98e585e..82e81bf 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -1527,8 +1527,8 @@ mouse-3: Describe current input method") ;; Info ;; -(doom-modeline-def-segment info - "The segment for `Info-mode'." +(doom-modeline-def-segment info-nodes + "The topic and nodes in the Info buffer." (let ((active (doom-modeline--active))) (concat " (" diff --git a/doom-modeline.el b/doom-modeline.el index 98bc1ca..619ed1a 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -106,7 +106,7 @@ '(misc-info " " major-mode process)) (doom-modeline-def-modeline 'info - '(bar window-number buffer-info info buffer-position parrot selection-info) + '(bar window-number buffer-info info-nodes buffer-position parrot selection-info) '(misc-info buffer-encoding major-mode)) (doom-modeline-def-modeline 'media