emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: remove-overlays


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: remove-overlays
Date: Thu, 29 Jan 2004 19:11:44 +0800
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

address@hidden writes:

> I have the built-in functions overlay-put and overlay-get, but not the
> function remove-overlay.
> I tried to fix it by changing the line
>   (if (fboundp 'overlay-put)
> into
>   (if (fboundp 'remove-overlays)
> but this put trouble in my daily planning file when copying the yesterday's
> tasks into today's new planning file.

The new check is

    (if (and (fboundp 'overlay-put) (fboundp 'remove-overlays))

which is essentially the same as what you put.

What kind of trouble did you encounter? It really should fall back to
text properties now...

-- 
Sacha Chua <address@hidden> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, making computer science education fun
http://sacha.free.net.ph/




reply via email to

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