Sfoglia il codice sorgente

Fix undo-tree stuff with recent emacs.

cray
Mitch Tishmack 11 anni fa
parent
commit
31315911b2
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. +8
    -8
      emacs/.emacs.d/emacs.org

+ 8
- 8
emacs/.emacs.d/emacs.org Vedi File

@@ -1005,14 +1005,14 @@ Make undo more useful, and treelike.
(use-package undo-tree
:ensure t
:init
(progn (
(global-undo-tree-mode)
(defadvice undo-tree-visualize (around undo-tree-split-side-by-side activate)
"Split undo-tree side-by-side"
(let ((split-height-threshold nil)
(split-width-threshold 0))
ad-do-it))
)
(progn (global-undo-tree-mode))
:config
(progn (defadvice undo-tree-visualize (around undo-tree-split-side-by-side activate)
"Split undo-tree side-by-side"
(let ((split-height-threshold nil)
(split-width-threshold 0))
ad-do-it)
)
)
:bind
("C-x u" . undo-tree-visualize)


Caricamento…
Annulla
Salva