mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tools/magit: refactor magit-version advice
Not strictly necessary, but more correct.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
;; HACK Magit complains loudly when it can't determine its own version, which is
|
;; HACK Magit complains loudly when it can't determine its own version, which is
|
||||||
;; the case when magit is built through straight. The warning is harmless,
|
;; the case when magit is built through straight. The warning is harmless,
|
||||||
;; however, so we just need it to shut up.
|
;; however, so we just need it to shut up.
|
||||||
;;;###autoload (advice-add #'magit-version :around #'ignore)
|
;;;###autoload (advice-add #'magit-version :override #'ignore)
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +magit-display-buffer-fn (buffer)
|
(defun +magit-display-buffer-fn (buffer)
|
||||||
|
Reference in New Issue
Block a user