tools/magit: prevent 'cannot determine magit's version' warnings
By ensuring the advice runs twice.
This commit is contained in:
parent
160462d33d
commit
48cd3e0ad0
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
;; 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,
|
||||
;; however, so we just need it to shut up.
|
||||
;;;###autoload (advice-add #'magit-version :override #'ignore)
|
||||
;;;###autoload
|
||||
(advice-add #'magit-version :override #'ignore)
|
||||
|
||||
;;;###autoload
|
||||
(defun +magit-display-buffer-fn (buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue