[magit] fix advice function
This commit is contained in:
parent
0d8c5ce893
commit
a36d9a221f
2
init.org
2
init.org
|
@ -2362,7 +2362,7 @@ SLIME opens CLHS links in Firefox, but I'd rather open them in Tor Browser; Tor
|
||||||
(cl-loop for symbol in '(magit-section-toggle
|
(cl-loop for symbol in '(magit-section-toggle
|
||||||
magit-section-forward
|
magit-section-forward
|
||||||
magit-section-backward)
|
magit-section-backward)
|
||||||
do (advice-add symbol :after (lambda () (recenter 3))))
|
do (advice-add symbol :after (lambda (&rest r) (recenter 3))))
|
||||||
(advice-add 'magit-unstage-item :after (next-line)))
|
(advice-add 'magit-unstage-item :after (next-line)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue