summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-08-28 09:13:53 +0100
committerAlan Pearce2013-08-28 09:13:53 +0100
commitc57093f28708a30b9720221532db80a9446bba77 (patch)
tree4d5fb8748463169cab6dcf2d592b755027ab75ab /emacs
parentb064712dfa6f4a3e727ad18568fc9f852c3e2c0d (diff)
parent314c9708d77bf367b775bf71be374faa690bcb1f (diff)
downloaddotfiles-c57093f28708a30b9720221532db80a9446bba77.tar.lz
dotfiles-c57093f28708a30b9720221532db80a9446bba77.tar.zst
dotfiles-c57093f28708a30b9720221532db80a9446bba77.zip
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'emacs')
-rw-r--r--emacs/elisp/ap-functions.el2
-rw-r--r--emacs/init.el6
2 files changed, 8 insertions, 0 deletions
diff --git a/emacs/elisp/ap-functions.el b/emacs/elisp/ap-functions.el
index 104b444..4c30001 100644
--- a/emacs/elisp/ap-functions.el
+++ b/emacs/elisp/ap-functions.el
@@ -44,3 +44,5 @@
                        ""))

         (command (read-shell-command "Shell command: " nil nil nil)))

     (shell-command (replace-regexp-in-string "%" file-buffer command) to-current-buffer)))

+

+(provide 'ap-functions)

diff --git a/emacs/init.el b/emacs/init.el
index 916cc42..1b7b495 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -427,6 +427,12 @@ Values: `desktop', `server', `laptop'")
             (add-to-list 'tramp-remote-path "/usr/local/sbin")
             (add-to-list 'tramp-remote-path "~/bin")))
 
+(use-package ediff
+  :defer t
+  :config (progn
+            (setq ediff-split-window-function 'split-window-horizontally
+                  ediff-window-setup-function 'ediff-setup-windows-plain)))
+
 ;;;; Indentation
 
 (setq-default tab-width 4