Refactor out s.el usage
This commit is contained in:
parent
96e83e987f
commit
ed2e7a65f6
5 changed files with 7 additions and 6 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue