Adding personal elisp functions.
This commit is contained in:
parent
741233bdef
commit
07f2748d34
|
@ -0,0 +1,13 @@
|
|||
[diff]
|
||||
tool = ediff
|
||||
guitool = ediff
|
||||
|
||||
[difftool "ediff"]
|
||||
cmd = /PATH/TO/ediff.sh $LOCAL $REMOTE $MERGED
|
||||
|
||||
[merge]
|
||||
tool = ediff
|
||||
|
||||
[mergetool "ediff"]
|
||||
cmd = /PATH/TO/ediff.sh $LOCAL $REMOTE $MERGED $BASE
|
||||
trustExitCode = true
|
|
@ -0,0 +1,7 @@
|
|||
;;; spells.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defun read-lines (filePath)
|
||||
"Return a list of lines of a file at filePath"
|
||||
(with-temp-buffer
|
||||
(insert-file-contents filePath)
|
||||
(split-string (buffer-string) "\n" t)))
|
Loading…
Reference in New Issue