aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJoakim Verona2011-07-18 01:26:27 +0200
committerJoakim Verona2011-07-18 01:26:27 +0200
commite9e9f8a3ff2ed8851e8ef1997d3a3911dbecd00d (patch)
treee86f8c262138738eee7172e27e4cbf6bcb3273e8 /lisp
parentb0ec5b0839c3f2687b4dddc385ae22b72f96db99 (diff)
downloademacs-e9e9f8a3ff2ed8851e8ef1997d3a3911dbecd00d.tar.gz
emacs-e9e9f8a3ff2ed8851e8ef1997d3a3911dbecd00d.zip
cleanups
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)