Advertisement
mark-naylor-1701

erc buffer truncation

May 20th, 2022
1,126
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
Advertisement
RAW Paste Data Copied
Advertisement