Package: w3-el-e21
Version: 4.0pre.2001.10.27-16
Severity: normal
Tags: patch

widget-image-value-set displays images in wrong positions
(although it correctly deletes the associated "alt" texts)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.3-20050315121628
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages w3-el-e21 depends on:
ii  emacs21                     21.4a-1      The GNU Emacs editor
ii  w3-url-e21                  2001.11.08-7 URL library for use by w3-el-e21

-- no debconf information

diff -u w3-widget.el.debian w3-widget.el
--- w3-widget.el.debian 2001-05-19 01:42:43.000000000 +0200
+++ w3-widget.el        2005-05-23 17:32:48.000000000 +0200
@@ -132,6 +132,8 @@
 (defun widget-image-value-set (widget value)
   ;; Recreate widget with new value.
   (save-excursion
+    (let ((pos (widget-get widget 'where)))
+      (if pos (goto-char pos)))
     (widget-image-delete widget)
     (if (or (eq 'image (car-safe value)) ; Emacs 21
            (widget-glyphp value))

Reply via email to