diff options
Diffstat (limited to 'elisp/geiser-image.el')
-rw-r--r-- | elisp/geiser-image.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-image.el b/elisp/geiser-image.el index fc2c49d..8476954 100644 --- a/elisp/geiser-image.el +++ b/elisp/geiser-image.el @@ -76,13 +76,13 @@ images in `geiser-image--cache-dir'." (let ((file (button-get button 'geiser-image-file))) (when (file-exists-p file) (geiser-image--display file)))) -(define-button-type 'geiser-image--button +(define-button-type 'geiser-image 'action 'geiser-image--button-action 'follow-link t) (defun geiser-image--insert-button (file) (insert-text-button "[image]" - :type 'geiser-image--button + :type 'geiser-image 'face 'geiser-font-lock-image-button 'geiser-image-file file 'help-echo "Click to display image")) |