Created
November 19, 2015 17:52
-
-
Save nealey/2c9e948a79b64f30315c to your computer and use it in GitHub Desktop.
Cloud To Butt for rcirc
This file contains hidden or 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 neale/rcirc-butt-markup (sender response) | |
(while (re-search-forward "the cloud" nil t) | |
(replace-match "my butt")) | |
(goto-char (point-min)) | |
(while (re-search-forward "cloud" nil t) | |
(replace-match "butt")) | |
(goto-char (point-min)) | |
(while (re-search-forward "cyber" nil t) | |
(replace-match "spider"))) | |
(add-hook 'rcirc-markup-text-functions 'neale/rcirc-butt-markup) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment