summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-09-23 14:36:28 +0200
committerGravatar Tom Willemse2015-09-23 14:36:28 +0200
commitbf66ba20e338d943e791b8bc91ae7658e5989177 (patch)
tree67684b8c0c4148bc23839619b09fb55e1a7530db /emacs
parentc72168099b704701335e50ecfa02742d0ad93369 (diff)
downloaddotfiles-bf66ba20e338d943e791b8bc91ae7658e5989177.tar.gz
dotfiles-bf66ba20e338d943e791b8bc91ae7658e5989177.zip
Fix warnings about undefined magit variables
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org18
1 files changed, 2 insertions, 16 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 8dbc0e2..07d27c5 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1566,7 +1566,7 @@
#+NAME: magit-repo-dirs
#+BEGIN_SRC emacs-lisp :tangle no
- (setq magit-repo-dirs '("~/projects/"))
+ (setq magit-repository-directories '("~/projects/"))
#+END_SRC
** Show fine differences
@@ -1581,19 +1581,6 @@
(setq magit-diff-refine-hunk 'all)
#+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
The settings in the previous sections should only be set after
@@ -1602,8 +1589,7 @@
#+BEGIN_SRC emacs-lisp :noweb yes
(stante-after magit
<<magit-repo-dirs>>
- <<magit-diff-refine-hunk>>
- <<magit-auto-revert-mode>>)
+ <<magit-diff-refine-hunk>>)
#+END_SRC
* Final touches