From ffd5f92302a3fce0c96cdc21cee1fbfb34fb3bd0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 24 Feb 2017 03:16:03 -0500 Subject: [PATCH] core-ui: don't disable nlinum for new frames (bug seems to be gone?) --- core/core-ui.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index ac8e53a92..239e998f4 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -189,12 +189,7 @@ file." ;; Optimization: calculate line number column width beforehand (add-hook! nlinum-mode (setq nlinum--width (length (save-excursion (goto-char (point-max)) - (format-mode-line "%l"))))) - - ;; Disable nlinum explicitly before making a frame, otherwise nlinum throws - ;; linum face errors that prevent the frame from spawning. - (add-hook! '(before-make-frame-hook after-make-frame-functions) - (nlinum-mode -1))) + (format-mode-line "%l")))))) ;; Helps us distinguish stacked delimiter pairs. Especially in parentheses-drunk ;; languages like Lisp.