branch: elpa/gnosis
commit f4904bf643e172259d1e5b0be10056935dd4e506
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>

    dashboard: Remove final separator.
---
 gnosis-dashboard.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el
index ec64bde5a36..f000d95f4cd 100644
--- a/gnosis-dashboard.el
+++ b/gnosis-dashboard.el
@@ -608,7 +608,10 @@ DASHBOARD-TYPE: either Themata or Decks to display the 
respective dashboard."
       (gnosis-dashboard-mode)
       (dolist (module gnosis-dashboard-modules)
        (funcall (symbol-value module))
-       (gnosis-insert-separator)))
+       (gnosis-insert-separator))
+      ;; Delete last separator
+      (beginning-of-visual-line)
+      (kill-whole-line))
     (pop-to-buffer-same-window buffer)
     (goto-char (point-min))
     (gnosis-dashboard-enable-mode)))

Reply via email to