aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/tumme.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/tumme.el b/lisp/tumme.el
index 2e2afd75399..1fa1622cabd 100644
--- a/lisp/tumme.el
+++ b/lisp/tumme.el
@@ -1762,13 +1762,11 @@ Ask user how many thumbnails should be displayed per row."
1762 1762
1763(defun tumme-display-image (file &optional original-size) 1763(defun tumme-display-image (file &optional original-size)
1764 "Display image FILE in image buffer. 1764 "Display image FILE in image buffer.
1765Use this when you want to display the image, semi sized, in a window 1765Use this when you want to display the image, semi sized, in a new
1766next to the thumbnail window - typically a three-window configuration 1766window. The image is sized to fit the display window (using a
1767with dired to the left, thumbnail window to the upper right and image 1767temporary file, don't worry). Because of this, it will not be as
1768window to the lower right. The image is sized to fit the display 1768quick as opening it directly, but on most modern systems it
1769window (using a temporary file, don't worry). Because of this, it 1769should feel snappy enough.
1770will not be as quick as opening it directly, but on most modern
1771systems it should feel snappy enough.
1772 1770
1773If optional argument ORIGINAL-SIZE is non-nil, display image in its 1771If optional argument ORIGINAL-SIZE is non-nil, display image in its
1774original size." 1772original size."
@@ -1822,7 +1820,8 @@ With prefix argument ARG, display image in its original size."
1822See documentation for `tumme-display-image' for more information. 1820See documentation for `tumme-display-image' for more information.
1823With prefix argument ARG, display image in its original size." 1821With prefix argument ARG, display image in its original size."
1824 (interactive "P") 1822 (interactive "P")
1825 (tumme-display-image (dired-get-filename) arg)) 1823 (tumme-display-image (dired-get-filename) arg)
1824 (display-buffer tumme-display-image-buffer))
1826 1825
1827(defun tumme-image-at-point-p () 1826(defun tumme-image-at-point-p ()
1828 "Return true if there is a tumme thumbnail at point." 1827 "Return true if there is a tumme thumbnail at point."