help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: question to pop-to-buffer


From: Kevin Rodgers
Subject: Re: question to pop-to-buffer
Date: Thu, 28 Aug 2003 11:04:41 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Eli Zaretskii wrote:

From: Klaus Berndl <address@hidden>
Newsgroups: gnu.emacs.help
Date: 28 Aug 2003 11:24:06 +0200

my question: Does pop-to-buffer use the lisp-version of display-buffer or the
C-version?

display-buffer is itself a built-in function, which means there's
only a C version of it.


More precisely: there's only a C implementation of it.  But there is a Lisp
binding as well.


I have adviced display-buffer but when i call pop-to-buffer then
this advice seems not to be called...

You cannot advice built-in functions.

Actually, you can, but it will only have an effect if the function is called

via its Lisp binding.  Since built-in functions almost always call other
built-in functions via their C binding, advising display-buffer will not
affect its behavior when it's called by pop-to-buffer.

--
Kevin Rodgers



reply via email to

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