diff options
author | John Paul Wallington <jpw@pobox.com> | 2004-11-01 08:01:14 +0000 |
---|---|---|
committer | John Paul Wallington <jpw@pobox.com> | 2004-11-01 08:01:14 +0000 |
commit | 2b601e1ccd453ca72f7dc31b31cb33c1342872a6 (patch) | |
tree | ae12aef1b3ba1c72c40990ffb3232ef9aea9ca07 /lisp/thumbs.el | |
parent | bb8eaf670558c4b670ec8fa6bd3d368e1483cfe3 (diff) | |
download | emacs-2b601e1ccd453ca72f7dc31b31cb33c1342872a6.tar.gz |
(group thumbs): Add :version keyword.
Diffstat (limited to 'lisp/thumbs.el')
-rw-r--r-- | lisp/thumbs.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/thumbs.el b/lisp/thumbs.el index 13970e59ee8..b6a68df33c4 100644 --- a/lisp/thumbs.el +++ b/lisp/thumbs.el @@ -30,8 +30,8 @@ ;;; Commentary: ;; This package create two new mode: thumbs-mode and -;; thumbs-view-image-mode. It is used for images browsing and viewing -;; from within emacs. Minimal image manipulation functions are also +;; thumbs-view-image-mode. It is used for images browsing and viewing +;; from within Emacs. Minimal image manipulation functions are also ;; available via external programs. ;; ;; The 'convert' program from 'ImageMagick' @@ -62,6 +62,7 @@ (defgroup thumbs nil "Thumbnails previewer." + :version "21.4" :group 'multimedia) (defcustom thumbs-thumbsdir @@ -416,7 +417,7 @@ and SAME-WINDOW to show thumbs in the same window." (defalias 'thumbs 'thumbs-show-all-from-dir) (defun thumbs-find-image (img &optional num otherwin) - (funcall + (funcall (if otherwin 'switch-to-buffer-other-window 'switch-to-buffer) (concat "*Image: " (file-name-nondirectory img) " - " (number-to-string (or num 0)) "*")) |