summaryrefslogtreecommitdiff
path: root/lisp/org/org.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-09 14:04:12 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-09 14:04:39 +0200
commit1137219c97dda512a309ce4bfad5abde0d2be206 (patch)
tree6d9d17c68b00f3e2ed072ef92637a126169ed4e8 /lisp/org/org.el
parent2ebfd7188f07e8c0c4e88d17e094d6fdd59f4769 (diff)
downloademacs-1137219c97dda512a309ce4bfad5abde0d2be206.tar.gz
emacs-1137219c97dda512a309ce4bfad5abde0d2be206.tar.bz2
emacs-1137219c97dda512a309ce4bfad5abde0d2be206.zip
Make compat alias image-refresh obsolete
* lisp/image.el (image-refresh): Make compat alias obsolete. Update callers.
Diffstat (limited to 'lisp/org/org.el')
-rw-r--r--lisp/org/org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 8bb69e98ce8..68f522b060a 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -16487,7 +16487,7 @@ INCLUDE-LINKED is passed to `org-display-inline-images'."
(org-toggle-inline-images)))
;; For without-x builds.
-(declare-function image-refresh "image" (spec &optional frame))
+(declare-function image-flush "image" (spec &optional frame))
(defcustom org-display-remote-inline-images 'skip
"How to display remote inline images.
@@ -16628,7 +16628,7 @@ buffer boundaries with possible narrowing."
(org-element-property :begin link)
'org-image-overlay)))
(if (and (car-safe old) refresh)
- (image-refresh (overlay-get (cdr old) 'display))
+ (image-flush (overlay-get (cdr old) 'display))
(let ((image (org--create-inline-image file width)))
(when image
(let ((ov (make-overlay