Created
August 24, 2016 22:16
-
-
Save stathissideris/6a8853577fc57e6368aa6c00d9955e79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun ss/erc-fix-fill (fill-fun) | |
(save-excursion | |
(goto-char (point-min)) | |
(re-search-forward "> ") | |
(replace-match ">➭")) | |
(funcall fill-fun) | |
(save-excursion | |
(goto-char (point-min)) | |
(re-search-forward ">➭") | |
(replace-match "> "))) | |
(advice-add 'erc-fill-regarding-timestamp :around #'ss/erc-fix-fill) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment