aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2008-02-24 13:36:39 +0000
committerStefan Monnier2008-02-24 13:36:39 +0000
commita2bc5bdd7db3f708b7489d91919336e775c3e6ca (patch)
treeca7e9efac023071ffcbeb514ab66fc4c0d76a8b9 /etc
parent01dcf28448dab12ad7160942323144836467dd65 (diff)
downloademacs-a2bc5bdd7db3f708b7489d91919336e775c3e6ca.tar.gz
emacs-a2bc5bdd7db3f708b7489d91919336e775c3e6ca.zip
Allow fine-grained image-cache flushing.
* dispextern.h (struct image): Add `dependencies' field. (clear_image_caches): Change arg to Lisp_Object. * image.c (make_image): Initialize `dependencies' field. (clear_image_cache): Change arg to allow fine-grained flushing. Perform the flush even if image-cache-eviction-delay is nil. (clear_image_caches): Change arg to Lisp_Object. (Fclear_image_cache): Expand meaning of the argument. (mark_image): Mark `dependencies' field. * xfaces.c (clear_face_cache): Adapt arg to call to clear_image_caches. (lface_hash): Use XHASH rather than XFASTINT. (face_at_buffer_position): Fix int -> EMACS_INT position. * xdisp.c (next_overlay_change): Fix int -> EMACS_INT position. (select_frame_for_redisplay): Remove code duplication. (redisplay_internal): Adapt arg to call to clear_image_caches.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cbb32b3710d..686f48fcb95 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -596,6 +596,8 @@ functions and variables (formerly used for Tamil script).
596 596
597* Lisp Changes in Emacs 23.1 597* Lisp Changes in Emacs 23.1
598 598
599** `clear-image-cache' can be told to flush only images of a specific file.
600
599** clone-indirect-buffer now runs the clone-indirect-buffer-hook. 601** clone-indirect-buffer now runs the clone-indirect-buffer-hook.
600 602
601** `beginning-of-defun-function' now takes one argument, the count 603** `beginning-of-defun-function' now takes one argument, the count