projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
639352d
)
escape newlines
author
David Vazquez
<davazp@gmail.com>
Thu, 20 Dec 2012 19:07:43 +0000
(19:07 +0000)
committer
David Vazquez
<davazp@gmail.com>
Thu, 20 Dec 2012 19:07:43 +0000
(19:07 +0000)
lispstrack.lisp
patch
|
blob
|
history
diff --git
a/lispstrack.lisp
b/lispstrack.lisp
index
2d27c25
..
387f388
100644
(file)
--- a/
lispstrack.lisp
+++ b/
lispstrack.lisp
@@
-363,6
+363,9
@@
(let ((ch (char string index)))
(when (or (char= ch #\") (char= ch #\\))
(setq output (concat output "\\")))
+ (when (or (char= ch #\newline))
+ (setq output (concat output "\\"))
+ (setq ch #\n))
(setq output (concat output (string ch))))
(incf index))
output))