Log annoying FLAP errors instead of interupting with #'error
[emchat] / 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)))))