Skip to content

Commit

Permalink
(debug-printf): remove an unnecessary call to 'concat' because 'inser…
Browse files Browse the repository at this point in the history
…t' can take multiple arguments.
  • Loading branch information
yata committed Feb 8, 2010
1 parent e0dfafb commit 2fddecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

* twittering-mode.el (debug-print): Reduce redundant calls of
`insert' because it can take multiple arguments.
(debug-printf): Remove an unnecessary call to `concat' because
`insert' can take multiple arguments.

2010-02-07 Tadashi MATSUO <tad@mymail.twin.jp>

Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ Return nil if SPEC-STR is invalid as a timeline spec."
(defun debug-printf (fmt &rest args)
(when twittering-debug-mode
(with-current-buffer (twittering-debug-buffer)
(insert (concat "[debug] " (apply 'format fmt args)))
(insert "[debug] " (apply 'format fmt args))
(newline))))

(defun twittering-debug-mode ()
Expand Down

0 comments on commit 2fddecd

Please sign in to comment.