Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Optional page-break-lines. #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dashboard-widgets.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
;; Created: October 05, 2016
;; Package-Version: 1.8.0-SNAPSHOT
;; Keywords: startup, screen, tools, dashboard
;; Package-Requires: ((emacs "25.3") (page-break-lines "0.11"))
;; Package-Requires: ((emacs "25.3"))
;;; Commentary:

;; An extensible Emacs dashboard, with sections for
Expand Down Expand Up @@ -60,7 +60,7 @@
(defvar all-the-icons-dir-icon-alist)
(defvar package-activated-list)

(defcustom dashboard-page-separator "\n\f\n"
(defcustom dashboard-page-separator "\n\n"
"Separator to use between the different pages."
:type 'string
:group 'dashboard)
Expand Down
6 changes: 3 additions & 3 deletions dashboard.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
;; Created: October 05, 2016
;; Package-Version: 1.8.0-SNAPSHOT
;; Keywords: startup, screen, tools, dashboard
;; Package-Requires: ((emacs "25.3") (page-break-lines "0.11"))
;; Package-Requires: ((emacs "25.3"))
;;; Commentary:

;; An extensible Emacs dashboard, with sections for
Expand All @@ -24,7 +24,6 @@

(require 'seq)
(require 'recentf)

(require 'dashboard-widgets)

;; Custom splash screen
Expand Down Expand Up @@ -62,7 +61,8 @@
(linum-mode -1)
(when (>= emacs-major-version 26)
(display-line-numbers-mode -1))
(page-break-lines-mode 1)
(when (require 'page-break-lines nil t)
(page-break-lines-mode 1))
(setq inhibit-startup-screen t
buffer-read-only t
truncate-lines t))
Expand Down