emacs-devel
[Top][All Lists]
Advanced

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

Re: "Attempt to modify read-only object" error with set-frame-configurat


From: martin rudalics
Subject: Re: "Attempt to modify read-only object" error with set-frame-configuration
Date: Thu, 20 Dec 2007 17:02:44 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> Try this:
>
> (let* ((cfg (current-frame-configuration))
>        (atr (cdadr cfg)))
>   (setcar atr (assq-delete-all 'horizontal-scroll-bars (car atr)))
>   (setcar atr (assq-delete-all 'visibility (car atr)))
>   (set-frame-configuration cfg))

Splendid!  Where can we fix this (at least temporarily)?  In
x_set_frame_parameters?





reply via email to

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