aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/xwidget.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index 3ef379c4ffe..967577a4e98 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -97,4 +97,13 @@ defaults to the string looking like a url around the cursor position."
97;; (declare-function xwidget-resize-internal "xwidget.c" ) 97;; (declare-function xwidget-resize-internal "xwidget.c" )
98;; check-declare-function? 98;; check-declare-function?
99 99
100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
101(defun xwidget-cleanup ()
102 ;;its still pretty easy to trigger bugs with xwidgets.
103 ;;this function tries to implement a workaround
104 (interactive)
105 (xwidget-delete-zombies) ;;kill xviews who should have been deleted but stull linger
106 (redraw-display);;redraw display otherwise ghost of zombies will remain to haunt the screen
107 )
108
100(provide 'xwidget) 109(provide 'xwidget)