Permalink
Browse files

Go to point-min before displaying the buffer

  • Loading branch information...
1 parent dbae247 commit f3ec766b7a8a3afbdc3de5002dc15f553941aa44 @jwiegley committed Jun 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 erc-yank.el
View
@@ -84,6 +84,7 @@
(with-current-buffer (get-buffer-create "*Yank*")
(delete-region (point-min) (point-max))
(insert kill-text)
+ (goto-char (point-min))
(display-buffer (current-buffer))
(fit-window-to-buffer
(get-buffer-window (current-buffer)))

0 comments on commit f3ec766

Please sign in to comment.