From 57721dc1c3a718b9ca362265f00ccb93e40f6cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Mart=C3=ADnez?= Date: Mon, 17 Feb 2020 12:54:48 +0100 Subject: [PATCH] Revert "Fix error when `dashboard--section-starts' is nil (#204)" This reverts commit 76a6aa45f732b94a40193ba25727c13d579bec70. --- dashboard.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dashboard.el b/dashboard.el index e80d404a..2e769af8 100644 --- a/dashboard.el +++ b/dashboard.el @@ -204,8 +204,7 @@ Optional prefix ARG says how many lines to move; default is one line." (dashboard-insert-page-break))) dashboard-items) (when dashboard-center-content - (when dashboard--section-starts - (goto-char (car (last dashboard--section-starts)))) + (goto-char (car (last dashboard--section-starts))) (let ((margin (floor (/ (max (- (window-width) max-line-length) 0) 2)))) (while (not (eobp)) (and (not (eq ? (char-after)))