From: Francis L. <fr...@wo...> - 2002-12-19 20:00:02
|
ERC Developers, I noticed that invoking the command erc-kill-input in an empty input line causes a (ding) and "End of buffer" to appear in the minibuffer. This patch to erc.el fixes that. Hope this helps. -- Francis Litterio fr...@wo... http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. --- erc.el 14 Dec 2002 10:31:46 -0000 1.361 +++ erc.el 19 Dec 2002 19:58:36 -0000 @@ -3250,7 +3250,7 @@ (defun erc-kill-input () "Kill current input line using `erc-bol' followed by `kill-line'." (interactive) - (and (erc-bol) (kill-line))) + (and (erc-bol) (/= (point) (point-max)) (kill-line))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; |