   "Turn on line numbers if major mode is programming-related."
   (unless (or (minibufferp)
               ;;(member major-mode display-line-numbers-exempt-modes)
-	      (not (derived-mode-p 'prog-mode)))
+	      (not (derived-mode-p 'prog-mode))
+	      (not popper-popup-status))
     (display-line-numbers-mode)))
 (global-display-line-numbers-mode)
 


;; help emacs find executables
(add-to-list 'exec-path "/Library/TeX/texbin/")

;; highlight and auto-create matching parentheses
(show-paren-mode 1)

;;; Commentary:

;; A personal Emacs config.

;; The config is split into multiple sections:
;; 1. Package Management
;; 2. Appearance
;; 3. Emacs Lisp settings
;; 4. Navigation/Editing
;; 5. Completion
;; 6. Programming
;; 7. Org-mode
;; 8. Miscellaneous

;;; Code:

