aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2018-06-11 13:24:11 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2018-06-11 13:24:11 +0200
commitf1351390d24fcad9925fe4aa227df633d0e9ef5b (patch)
tree0ca4fc3684aa9f36a7e8bf11c12b1c280b6f873f
parent4b2f2881f1b7b8fa8733bf075c3df5de1c8239e0 (diff)
downloaddotfiles-f1351390d24fcad9925fe4aa227df633d0e9ef5b.tar.gz
dotfiles-f1351390d24fcad9925fe4aa227df633d0e9ef5b.zip
emacs: removed deprecated code from magit
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--emacs/init.org11
1 files changed, 0 insertions, 11 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 160c904..bd09f58 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -1001,17 +1001,6 @@ cases, set the proper default mode.
(evil-set-initial-state 'magit-log-edit-mode 'insert))
#+END_SRC
-When showing the status, hide the usually-redundant "branch" section and show
-the rest.
-
-#+BEGIN_SRC elisp
- (add-hook 'magit-section-set-visibility-hook
- '(lambda (section)
- (if (string= (magit-section-type section) "branch")
- 'hide
- 'show)))
-#+END_SRC
-
Set a key binding for =magit-log-buffer-file=.
#+BEGIN_SRC elisp