emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeated call of customize buffer returns error


From: Stefan Monnier
Subject: Re: Repeated call of customize buffer returns error
Date: Thu, 12 Jun 2003 13:31:38 -0400

> Evaluating the form
> 
> (progn
>   (defcustom test-var nil
>     "No doc"
>     :type '(radio string sexp))
>   (customize-variable 'test-var)
>   (customize-variable 'test-var))
> 
> returns an error:
> 
> widget-overlay-inactive: The widget here is not active

Hmm.... can you try the patch below ?


        Stefan


--- cus-edit.el.~1.184.~        Tue Jun  3 15:05:27 2003
+++ cus-edit.el Thu Jun 12 13:30:58 2003
@@@ -1223,10 +1231,10 @@
       (with-current-buffer buf
        (kill-all-local-variables)
        (run-hooks 'kill-buffer-hook)
-       (erase-buffer)
        (let ((ols (overlay-lists)))
          (dolist (ol (nconc (car ols) (cdr ols)))
            (delete-overlay ol)))
+       (erase-buffer)
        buf))))
 
 ;;;###autoload





reply via email to

[Prev in Thread] Current Thread [Next in Thread]