Created
July 3, 2013 10:00
-
-
Save buzztaiki/5916771 to your computer and use it in GitHub Desktop.
newstickerでshrを使ってみる
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
| (require 'shr) | |
| (defun newsticker-shr-render (pos1 pos2) ; | |
| (let ((dom (libxml-parse-html-region pos1 pos2))) | |
| (delete-region pos1 pos2) | |
| (shr-insert-document dom))) | |
| (setq newsticker-html-renderer 'newsticker-shr-render) | |
| (newsticker--forget-preformatted) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment