Skip to content

Commit

Permalink
initialize twittering-use-convert with the value of convert program
Browse files Browse the repository at this point in the history
  • Loading branch information
hayamiz committed Jan 10, 2010
1 parent d2cd3e0 commit 9b2046f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -3,6 +3,8 @@
* twittering-mode.el (twittering-convert-program): checks whether
'convert' is a part of ImageMagick. Windows XP has 'convert.exe'
in WINDOWS/system32, which is a partition converter.
(twittering-use-convert): use the value of
twittering-convert-program

2010-01-11 Tadashi MATSUO <tad@mymail.twin.jp>

Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Expand Up @@ -317,7 +317,7 @@ icon mode; otherwise, turn off icon mode."
(and (search-forward "ImageMagick" nil t)
program)))))
(defvar twittering-convert-fix-size 48)
(defvar twittering-use-convert (not (null (executable-find "convert")))
(defvar twittering-use-convert (not (null twittering-convert-program))
"*This variable makes a sense only if `twittering-convert-fix-size'
is non-nil. If this variable is non-nil, icon images are converted by
invoking \"convert\". Otherwise, cropped images are displayed.")
Expand Down

0 comments on commit 9b2046f

Please sign in to comment.