Created
January 13, 2010 08:21
-
-
Save youz/276030 to your computer and use it in GitHub Desktop.
sogebu
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
;;; for xyzzy | |
(defun sogebu-region (from to &aux (text (buffer-substring from to))) | |
(interactive "r") | |
(with-input-from-string (is "H4sIAHp+TUsAA2t0aCQaKjSXa8Tlx2k2lyvUOXIRrw8GaxpPkKIrDkTqE9ShAHZTYxxhNyk0xmkoNDpowvgYGsAmKfT5w62PU2hsAamJR1gGZMcDlQBFNRrBFoPEm0FqoKJAWxQUuMCam9YqYLEFLAQAGz2QiHgBAAA=") | |
(insert (apply #'format nil (si:inflate-stream (si:base64-decode is)) | |
(split-string (concat text "\n\n\n\n") #\LFD :ignore-empty nil))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment