diff options
Diffstat (limited to 'lisp/erc/erc-speedbar.el')
-rw-r--r-- | lisp/erc/erc-speedbar.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/erc/erc-speedbar.el b/lisp/erc/erc-speedbar.el index 11979a01301..0c32f1e51f0 100644 --- a/lisp/erc/erc-speedbar.el +++ b/lisp/erc/erc-speedbar.el @@ -343,7 +343,7 @@ The INDENT level is ignored." "Return the text for the item on the current line." (beginning-of-line) (when (re-search-forward "[]>] " nil t) - (buffer-substring-no-properties (point) (point-at-eol)))) + (buffer-substring-no-properties (point) (line-end-position)))) (defun erc-speedbar-item-info () "Display information about the current buffer on the current line." |