]> code.delx.au - gnu-emacs-elpa/commitdiff
Fixed code commited by mistake
authorAlexey Veretennikov <txm.fourier@gmail.com>
Wed, 17 Jun 2015 07:07:54 +0000 (09:07 +0200)
committerAlexey Veretennikov <txm.fourier@gmail.com>
Wed, 17 Jun 2015 07:07:54 +0000 (09:07 +0200)
ztree-diff.el

index cd7a353e235aea2c2f880629ed81a7d720480101..6fd3644a831e55431ef271476f7c8cd7481e54db 100644 (file)
@@ -213,7 +213,7 @@ Argument NODE node containing paths to files to call a diff on."
 2 if left or right present - view left or rigth"
   (let ((left (ztree-diff-node-left-path node))
         (right (ztree-diff-node-right-path node))
-        (open-f #'(lambda (path) ((insert )f hard (find-file path)
+        (open-f #'(lambda (path) (if hard (find-file path)
                                   (let ((split-width-threshold nil))
                                     (view-file-other-window path))))))
     (cond ((and left right)