Skip to content

Commit

Permalink
(debug-print): reduce redundant calls of 'insert' because it can take…
Browse files Browse the repository at this point in the history
… multiple arguments.
  • Loading branch information
yata committed Feb 8, 2010
1 parent ad5f39c commit e0dfafb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Expand Up @@ -9,6 +9,9 @@
(twittering-status-to-status-datum): Rename `regex-index' to
`regexp-index'.

* twittering-mode.el (debug-print): Reduce redundant calls of
`insert' because it can take multiple arguments.

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

* test/test-twittering-mode.el (test-format-status): replace the
Expand Down
3 changes: 1 addition & 2 deletions twittering-mode.el
Expand Up @@ -890,8 +890,7 @@ Return nil if SPEC-STR is invalid as a timeline spec."
`(let ((,obsym ,obj))
(if twittering-debug-mode
(with-current-buffer (twittering-debug-buffer)
(insert "[debug] ")
(insert (prin1-to-string ,obsym))
(insert "[debug] " (prin1-to-string ,obsym))
(newline)
,obsym)
,obsym))))
Expand Down

0 comments on commit e0dfafb

Please sign in to comment.