mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Clean up linum configuration
Part of the configuration was in packages.el right after the require call to linum+. It's now in appearance.el next to the related linum settings.
This commit is contained in:
@@ -31,6 +31,12 @@
|
||||
(setq linum+-smart-format " %%%dd ")
|
||||
(setq linum+-dynamic-format " %%%dd ")
|
||||
|
||||
;; Linum+ resets linum-format to "smart" when it's loaded, hence we have to
|
||||
;; use a eval-after-load hook to set it to "dynamic".
|
||||
(eval-after-load "linum+"
|
||||
'(progn
|
||||
(setq linum-format 'dynamic)))
|
||||
|
||||
;; meaningful names for buffers with the same name
|
||||
(require 'uniquify)
|
||||
(setq uniquify-buffer-name-style 'forward)
|
||||
|
||||
@@ -181,8 +181,7 @@
|
||||
(require 'undo-tree)
|
||||
|
||||
;; Load Linum+
|
||||
(when (require 'linum+ nil 'noerror)
|
||||
(setq linum-format 'dynamic))
|
||||
(require 'linum+)
|
||||
|
||||
;; Load full-ack
|
||||
(require 'full-ack)
|
||||
|
||||
Reference in New Issue
Block a user