Remove third line in section headers

This is truly important stuff. We've saved many lives with this update.
This commit is contained in:
Henrik Lissner 2018-09-07 19:36:16 -04:00
parent 50fdaa0ed5
commit 7d3ffdff06
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
101 changed files with 64 additions and 283 deletions

View file

@ -99,7 +99,6 @@ PLIST can have the following properties:
;;
;; Bootstrap
;;
(setq doom-fallback-buffer-name +doom-dashboard-name
initial-buffer-choice #'+doom-dashboard-initial-buffer)
@ -109,7 +108,6 @@ PLIST can have the following properties:
;;
;; Major mode
;;
(define-derived-mode +doom-dashboard-mode special-mode
(format "DOOM v%s" doom-version)
@ -168,7 +166,6 @@ PLIST can have the following properties:
;;
;; Hooks
;;
(defun +doom-dashboard|reposition-point ()
"Trap the point in the buttons."
@ -264,7 +261,6 @@ project (which may be different across perspective)."
;;
;; Library
;;
(defun +doom-dashboard-initial-buffer ()
"Returns buffer to display on startup. Designed for `initial-buffer-choice'."
@ -338,7 +334,6 @@ controlled by `+doom-dashboard-pwd-policy'."
;;
;; Widgets
;;
(defun doom-dashboard-widget-banner ()
(let ((point (point)))

View file

@ -2,7 +2,6 @@
;;
;; Modeline library
;;
(defvar doom--modeline-fn-alist ())
(defvar doom--modeline-var-alist ())
@ -89,7 +88,6 @@ DEFAULT is non-nil, set the default mode-line for all buffers."
;;
;; Custom faces
;;
(defgroup +doom-modeline nil
"TODO"
@ -157,8 +155,7 @@ active."
;;
;; Plugins
;;
;; Packages
;; anzu and evil-anzu expose current/total state that can be displayed in the
;; mode-line.
@ -229,7 +226,6 @@ active."
;;
;; Variables
;;
(defvar +doom-modeline-height 23
"How tall the mode-line should be (only respected in GUI emacs).")
@ -260,7 +256,6 @@ file-name => comint.el")
;;
;; Modeline helpers
;;
(defun active ()
(eq (selected-window) +doom-modeline-current-window))
@ -389,7 +384,6 @@ Example:
;;
;; buffer information
;;
(def-modeline-segment! buffer-default-directory
"Displays `default-directory'. This is for special buffers like the scratch
@ -479,7 +473,6 @@ directory, the file name, and its state (modified, read-only or non-existent)."
;;
;; major-mode
;;
(def-modeline-segment! major-mode
"The major mode, including process, environment and text-scale info."
@ -495,7 +488,6 @@ directory, the file name, and its state (modified, read-only or non-existent)."
;;
;; vcs
;;
(defvar-local +doom-modeline--vcs nil)
(defun +doom-modeline--update-vcs ()
@ -544,7 +536,6 @@ directory, the file name, and its state (modified, read-only or non-existent)."
;;
;; flycheck
;;
(defvar +doom-modeline-vspc
(propertize " " 'face 'variable-pitch)
@ -589,7 +580,6 @@ icons."
;;
;; selection-info
;;
(defsubst doom-column (pos)
(save-excursion (goto-char pos)
@ -629,7 +619,6 @@ lines are selected, or the NxM dimensions of a block selection."
;;
;; matches (anzu, evil-substitute, iedit, macro)
;;
(defun +doom-modeline--macro-recording ()
"Display current Emacs or evil macro being recorded."
@ -715,7 +704,6 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
;;
;; media-info
;;
(def-modeline-segment! media-info
"Metadata regarding the current file, such as dimensions for images."
@ -728,7 +716,6 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
;;
;; bar
;;
(defvar +doom-modeline--bar-active nil)
(defvar +doom-modeline--bar-inactive nil)
@ -759,7 +746,6 @@ Returns \"\" to not break --no-window-system."
;;
;; Mode lines
;;
(def-modeline! 'main
'(bar matches " " buffer-info " %l:%c %p " selection-info)
@ -784,7 +770,6 @@ Returns \"\" to not break --no-window-system."
;;
;; Hooks
;;
(defun +doom-modeline|refresh-bars (&optional width height)
(setq +doom-modeline--bar-active
@ -818,7 +803,6 @@ Returns \"\" to not break --no-window-system."
;;
;; Bootstrap
;;
(doom-set-modeline 'main t) ; set default modeline

View file

@ -19,8 +19,7 @@
;;
;; Plugins
;;
;; Packages
;; <https://github.com/hlissner/emacs-doom-theme>
(def-package! doom-themes

View file

@ -12,8 +12,7 @@ Changes to this variable do not take effect until `fci-mode' is restarted.")
;;
;; Plugins
;;
;; Packages
(def-package! fill-column-indicator
:hook ((text-mode prog-mode conf-mode) . turn-on-fci-mode)

View file

@ -68,7 +68,6 @@ Currently available functions:
;;
;; Custom faces
;;
(defgroup +modeline nil
"TODO"
@ -124,8 +123,7 @@ Currently available functions:
;;
;; Plugins
;;
;; Packages
(def-package! anzu
:after-call isearch-mode
@ -161,7 +159,6 @@ Currently available functions:
;;
;; Hacks
;;
;; Keep `+modeline-current-window' up-to-date
(defvar +modeline-current-window (frame-selected-window))
@ -225,7 +222,6 @@ Currently available functions:
;;
;; Helpers
;;
(defun +modeline--make-xpm (width height &optional color)
"Create an XPM bitmap. Inspired by `powerline''s `pl/make-xpm'."
@ -264,7 +260,6 @@ use `buffer-name'."
;;
;; Buffer file path styles
;;
(defun +modeline-file-path-with-project ()
"Returns the unaltered buffer file path relative to the project root's
@ -356,7 +351,6 @@ Meant for `+modeline-buffer-path-function'."
;;
;; Bars
;;
(defvar +modeline-bar-start nil "TODO")
(put '+modeline-bar-start 'risky-local-variable t)
@ -394,7 +388,6 @@ Meant for `+modeline-buffer-path-function'."
;;
;; Segments
;;
(defun +modeline|update-on-change ()
(+modeline--set-+modeline-buffer-state)
@ -666,7 +659,6 @@ icons."
;;
;; Preset modeline formats
;;
(def-modeline-format! :main
'(+modeline-matches " "
@ -696,9 +688,6 @@ icons."
;;
;;
;;
(def-modeline-segment! +modeline--rest
(let ((rhs-str (format-mode-line +modeline-format-right)))
(list (propertize

View file

@ -24,7 +24,6 @@
;;
;; Core functions
;;
;; Don't try to resize popup windows
(advice-add #'balance-windows :around #'+popup*save)
@ -32,7 +31,6 @@
;;
;; External functions
;;
;; `company'
(progn

View file

@ -129,7 +129,6 @@ and enables `+popup-buffer-mode'."
;;
;; Public library
;;
;;;###autoload
(defun +popup-buffer-p (&optional buffer)
@ -211,7 +210,6 @@ Uses `shrink-window-if-larger-than-buffer'."
;;
;; Hooks
;;
;;;###autoload
(defun +popup|adjust-fringes ()
@ -291,7 +289,6 @@ Any non-nil value besides the above will be used as the raw value for
;;
;; Commands
;;
;;;###autoload
(defalias 'other-popup #'+popup/other)
@ -397,7 +394,6 @@ the message buffer in a popup window."
;;
;; Advice
;;
;;;###autoload
(defun +popup*close (&rest _)
@ -555,7 +551,6 @@ Accepts the same arguments as `display-buffer-in-side-window'. You must set
;;
;; Emacs backwards compatibility
;;
(unless EMACS26+
(defvar window-sides-reversed nil)

View file

@ -199,7 +199,6 @@ Example:
;;
;; Obsolete settings
;;
;; FIXME obsolete :popup
;;;###autoload

View file

@ -35,7 +35,6 @@ adjustment.")
;;
;; Global modes
;;
(defvar +popup-mode-map (make-sparse-keymap)
"Active keymap in a session with the popup system enabled. See
@ -95,7 +94,6 @@ that window has been changed or closed."
;;
;; Macros
;;
(defmacro with-popup-rules! (rules &rest body)
"Evaluate BODY with popup RULES. RULES is a list of popup rules. Each rule
@ -128,7 +126,6 @@ prevent the popup(s) from messing up the UI (or vice versa)."
;;
;; Default popup rules & bootstrap
;;
(set-popup-rules!
(when (featurep! +all)
@ -175,6 +172,5 @@ prevent the popup(s) from messing up the UI (or vice versa)."
;;
;; Hacks
;;
(load! "+hacks")

View file

@ -17,8 +17,7 @@ to the right fringe.")
;;
;; Plugins
;;
;; Packages
(def-package! git-gutter-fringe
:commands (git-gutter:revert-hunk git-gutter:stage-hunk)