Created
April 4, 2015 22:17
-
-
Save jorgenschaefer/6c6208bebb97742e4fb8 to your computer and use it in GitHub Desktop.
Triple-click bug repro
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 repro-filter (fun beg end delete) | |
(let ((string (funcall fun beg end delete))) | |
(with-temp-buffer | |
(insert string) | |
string))) | |
(with-current-buffer (get-buffer-create "*Bug*") | |
(set (make-local-variable 'filter-buffer-substring-functions) | |
'(repro-filter)) | |
(insert "Hello, World!\n") | |
(pop-to-buffer (current-buffer))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment