org.el (org-toggle-inline-images): Only send a message when called interactively
* org.el (org-toggle-inline-images): Only send a message when called interactively.
This commit is contained in:
parent
39da4f455a
commit
48ca87cd4a
|
@ -17888,7 +17888,8 @@ INCLUDE-LINKED is passed to `org-display-inline-images'."
|
||||||
(org-remove-inline-images)
|
(org-remove-inline-images)
|
||||||
(message "Inline image display turned off"))
|
(message "Inline image display turned off"))
|
||||||
(org-display-inline-images include-linked)
|
(org-display-inline-images include-linked)
|
||||||
(if org-inline-image-overlays
|
(if (and (org-called-interactively-p)
|
||||||
|
org-inline-image-overlays)
|
||||||
(message "%d images displayed inline"
|
(message "%d images displayed inline"
|
||||||
(length org-inline-image-overlays))
|
(length org-inline-image-overlays))
|
||||||
(message "No images to display inline"))))
|
(message "No images to display inline"))))
|
||||||
|
|
Loading…
Reference in New Issue