Compare commits

..

2 Commits

2 changed files with 17 additions and 0 deletions

View File

@ -20,6 +20,18 @@
;; (run-with-idle-timer 5 t #'garbage-collect) ;; (run-with-idle-timer 5 t #'garbage-collect)
;(setq garbage-collection-messages t) ;(setq garbage-collection-messages t)
;; doesn't quite work
(defun mir/dont-make-obsolete (orig &rest args)
"only run ORIG when its not linum."
;; (message "obsoleting: %s" args)
(if (or (member 'global-linum-mode args)
(member 'linum-mode args))
(message "linum is deprecated but i dont care")
;; (let ((inhibit-message t))
;; (apply orig args))
(apply orig args)))
(advice-add #'make-obsolete :around #'mir/dont-make-obsolete)
(defun display-startup-echo-area-message () (defun display-startup-echo-area-message ()
"A re-definition of the function. "A re-definition of the function.
Tell the Emacs startup time and number of garbage-collections Tell the Emacs startup time and number of garbage-collections

View File

@ -665,6 +665,11 @@ targets."
;; upd: this is not waht that does 💀 ;; upd: this is not waht that does 💀
;; (use-package el-patch) ;; (use-package el-patch)
;; SORTA WORKING: Relative line numbers with stuff ;; SORTA WORKING: Relative line numbers with stuff
(use-package nlinum
:custom-face
(linum
((t (:foreground "#303030"))))
:ensure (:repo "https://git.marq42.xyz/mir/nlinum"))
(use-package nlinum-relative (use-package nlinum-relative
:custom :custom
(nlinum-relative-redisplay-delay 0) (nlinum-relative-redisplay-delay 0)