Fix warnings about undefined magit variables
This commit is contained in:
parent
c72168099b
commit
bf66ba20e3
1 changed files with 2 additions and 16 deletions
|
@ -1566,7 +1566,7 @@
|
||||||
|
|
||||||
#+NAME: magit-repo-dirs
|
#+NAME: magit-repo-dirs
|
||||||
#+BEGIN_SRC emacs-lisp :tangle no
|
#+BEGIN_SRC emacs-lisp :tangle no
|
||||||
(setq magit-repo-dirs '("~/projects/"))
|
(setq magit-repository-directories '("~/projects/"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Show fine differences
|
** Show fine differences
|
||||||
|
@ -1581,19 +1581,6 @@
|
||||||
(setq magit-diff-refine-hunk 'all)
|
(setq magit-diff-refine-hunk 'all)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Don't revert all the buffers
|
|
||||||
|
|
||||||
I'd never noticed it much before, but lately magit's habit of
|
|
||||||
reverting all the buffers after almost every action I perform has
|
|
||||||
become disturbingly slow. I personally don't rely on that
|
|
||||||
functionality being either off or on, so turning it off shouldn't
|
|
||||||
bother me too much.
|
|
||||||
|
|
||||||
#+NAME: magit-auto-revert-mode
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle no
|
|
||||||
(setq magit-auto-revert-mode nil)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Delay setting
|
** Delay setting
|
||||||
|
|
||||||
The settings in the previous sections should only be set after
|
The settings in the previous sections should only be set after
|
||||||
|
@ -1602,8 +1589,7 @@
|
||||||
#+BEGIN_SRC emacs-lisp :noweb yes
|
#+BEGIN_SRC emacs-lisp :noweb yes
|
||||||
(stante-after magit
|
(stante-after magit
|
||||||
<<magit-repo-dirs>>
|
<<magit-repo-dirs>>
|
||||||
<<magit-diff-refine-hunk>>
|
<<magit-diff-refine-hunk>>)
|
||||||
<<magit-auto-revert-mode>>)
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Final touches
|
* Final touches
|
||||||
|
|
Loading…
Reference in a new issue