Fix a Wrong type argument error.
authorSteve Youngs <steve@emchat.org>
Sun, 18 Aug 2013 03:47:09 +0000 (13:47 +1000)
committerSteve Youngs <steve@emchat.org>
Sun, 18 Aug 2013 03:47:09 +0000 (13:47 +1000)
* emchat-buddy.el (balloon-help-display-help): Fix advice, use
#'point-at-eol instead of #'eolp as the latter does not return a
value.

Signed-off-by: Steve Youngs <steve@emchat.org>
emchat-buddy.el

index 9afd222..9246dc3 100644 (file)
@@ -267,7 +267,7 @@ See `emchat-buddy-view' and `emchat-active-aliases'."
     (let ((alias (progn
                   (set-buffer balloon-help-buffer)
                   (goto-char (point-min))
-                  (when (re-search-forward "\\(^.*\\) (" (eolp) t)
+                  (when (re-search-forward "\\(^.*\\) (" (point-at-eol) t)
                     (substring (match-string 1) 1)))))
       (when alias
        (emchat-buddy-show-xface-in-balloon alias)))))