The Lambda Lab
/
projects
/
elpher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b38c7
)
Add support for non-conformant (LF only) line breaks in directories.
author
Tim Vaughan
<tgvaughan@gmail.com>
Thu, 2 May 2019 14:38:39 +0000
(16:38 +0200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Thu, 2 May 2019 14:38:39 +0000
(16:38 +0200)
elpher.el
patch
|
blob
|
history
diff --git
a/elpher.el
b/elpher.el
index
a910317
..
7add720
100644
(file)
--- a/
elpher.el
+++ b/
elpher.el
@@
-292,7
+292,7
@@
content and cursor position fields of the node."
(defun elpher-insert-index (string)
"Insert the index corresponding to STRING into the current buffer."
- (dolist (line (split-string
string "\r
\n"))
+ (dolist (line (split-string
(replace-regexp-in-string "\r" "" string) "
\n"))
(unless (= (length line) 0)
(elpher-insert-index-record line))))