Advertisement
mark-naylor-1701

erc buffer truncation

May 20th, 2022 (edited)
2,792
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.18 KB | None | 0 0
  1. (defun erc-truncate-at-point-bol ()
  2.   "Deletes erc buffer content above the current line of the point."
  3.   (interactive)
  4.   (erc-truncate-buffer-to-size (- (point-max) (point-at-bol))))
  5.  
Tags: elisp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement