Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun my-comint-preoutput-turn-buffer-read-only (text)
- (propertize text 'read-only t))
- (add-hook 'comint-preoutput-filter-functions 'my-comint-preoutput-turn-buffer-read-only)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement