Refactor out s.el usage

This commit is contained in:
Henrik Lissner 2017-04-17 02:18:25 -04:00
parent 96e83e987f
commit ed2e7a65f6
5 changed files with 7 additions and 6 deletions

View file

@ -195,6 +195,6 @@ for function signatures or notes. Run again to clear the header line."
(concat (propertize (format nlinum-format (line-number-at-pos beg))
'face 'font-lock-comment-face)
(let ((content (buffer-substring beg end)))
(setq content (s-replace "\n" " " content))
(setq content (replace-regexp-in-string "\n" " " content t t))
(setq content (replace-regexp-in-string "\\s-+" " " content))
content)))))