diff --git a/ChangeLog b/ChangeLog index c9fe7c14..21678840 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ wide characters. (twittering-favorite): Likewise. + * twittering-mode.el (twittering-extract-timeline-spec): Delete an + unused argument to `error'. + 2010-02-18 Tadashi MATSUO * twittering-mode.el (twittering-current-timeline-spec): return diff --git a/twittering-mode.el b/twittering-mode.el index 782058bd..62893f55 100644 --- a/twittering-mode.el +++ b/twittering-mode.el @@ -699,7 +699,7 @@ If SHORTEN is non-nil, the abbreviated expression will be used." Return cons of the spec and the rest string." (cond ((null str) - (error "STR is nil" str) + (error "STR is nil") nil) ((string-match "^\\([a-zA-Z0-9_-]+\\)/\\([a-zA-Z0-9_-]+\\)" str) (let ((user (match-string 1 str))