diff options
| author | Mathias Dahl | 2006-05-25 12:21:41 +0000 |
|---|---|---|
| committer | Mathias Dahl | 2006-05-25 12:21:41 +0000 |
| commit | f5b5e4fee1947fe025ef60580677705fe3e66705 (patch) | |
| tree | 1078454f06c7bb95644a5ae3711bb629da5d02f3 | |
| parent | 776e9e349b9241ba7693b61adf59229a425ab058 (diff) | |
| download | emacs-f5b5e4fee1947fe025ef60580677705fe3e66705.tar.gz emacs-f5b5e4fee1947fe025ef60580677705fe3e66705.zip | |
* tumme.el (tumme-display-image): Changed documentation string
slightly.
(tumme-dired-display-image): Added call to `display-buffer'.
* dired.el (dired-mode-map): `tumme-display-dired-image' was
renamed in tumme.el, but there was still a key binding to it
here. Changed the binding to the new name.
| -rw-r--r-- | lisp/tumme.el | 15 |
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. |
| 1765 | Use this when you want to display the image, semi sized, in a window | 1765 | Use this when you want to display the image, semi sized, in a new |
| 1766 | next to the thumbnail window - typically a three-window configuration | 1766 | window. The image is sized to fit the display window (using a |
| 1767 | with dired to the left, thumbnail window to the upper right and image | 1767 | temporary file, don't worry). Because of this, it will not be as |
| 1768 | window to the lower right. The image is sized to fit the display | 1768 | quick as opening it directly, but on most modern systems it |
| 1769 | window (using a temporary file, don't worry). Because of this, it | 1769 | should feel snappy enough. |
| 1770 | will not be as quick as opening it directly, but on most modern | ||
| 1771 | systems it should feel snappy enough. | ||
| 1772 | 1770 | ||
| 1773 | If optional argument ORIGINAL-SIZE is non-nil, display image in its | 1771 | If optional argument ORIGINAL-SIZE is non-nil, display image in its |
| 1774 | original size." | 1772 | original size." |
| @@ -1822,7 +1820,8 @@ With prefix argument ARG, display image in its original size." | |||
| 1822 | See documentation for `tumme-display-image' for more information. | 1820 | See documentation for `tumme-display-image' for more information. |
| 1823 | With prefix argument ARG, display image in its original size." | 1821 | With 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." |