diff options
| author | David Aspinall | 2010-10-06 09:58:53 +0000 |
|---|---|---|
| committer | David Aspinall | 2010-10-06 09:58:53 +0000 |
| commit | b5ab91cb5b0715d7bb6febbcc9ef666a789b78e0 (patch) | |
| tree | d89ca9fd03198b4c687358f6bea3f7145aace855 /generic | |
| parent | 1a43762cb4518d0710b8f9c3bb0237e96823d508 (diff) | |
No compile warning if image-size not available
Diffstat (limited to 'generic')
| -rw-r--r-- | generic/proof-splash.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/proof-splash.el b/generic/proof-splash.el index e008e976..e5ace495 100644 --- a/generic/proof-splash.el +++ b/generic/proof-splash.el @@ -150,7 +150,9 @@ Borrowed from startup-center-spaces." (glyph-pixwidth (cond ((stringp glyph) (* avg-pixwidth (length glyph))) ((proof-emacs-imagep glyph) - (car (image-size glyph 'inpixels))) + (car (with-no-warnings + ; image-size not available in tty emacs + (image-size glyph 'inpixels)))) (t (error "proof-splash-centre-spaces: bad arg"))))) |
