unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [Unicode-2] C-h f doesn't work
@ 2007-10-16  8:55 Katsumi Yamaoka
  2007-10-16  9:43 ` Juanma Barranquero
  0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2007-10-16  8:55 UTC (permalink / raw)
  To: emacs-devel

Hi,

Debugger entered--Lisp error: (invalid-function ad-get-advice-info)
  ad-get-advice-info(find-file)
  describe-function-1(find-file)
  describe-function(find-file)
  call-interactively(describe-function)

Because `describe-function-1' is compiled w/o loading advice and
funcalls the macro.  Here's a workaround:

*** help-fns.el~	Mon Oct 15 07:02:46 2007
--- help-fns.el	Tue Oct 16 08:53:55 2007
***************
*** 253,255 ****
  (defun describe-function-1 (function)
!   (let* ((advised (and (featurep 'advice) (ad-get-advice-info function)))
  	 ;; If the function is advised, get the symbol that has the
--- 253,256 ----
  (defun describe-function-1 (function)
!   (let* ((advised (and (featurep 'advice)
! 		       (eval '(ad-get-advice-info function))))
  	 ;; If the function is advised, get the symbol that has the

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Unicode-2] C-h f doesn't work
  2007-10-16  8:55 [Unicode-2] C-h f doesn't work Katsumi Yamaoka
@ 2007-10-16  9:43 ` Juanma Barranquero
  0 siblings, 0 replies; 2+ messages in thread
From: Juanma Barranquero @ 2007-10-16  9:43 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: emacs-devel

On 10/16/07, Katsumi Yamaoka <yamaoka@jpl.org> wrote:

> Debugger entered--Lisp error: (invalid-function ad-get-advice-info)
>   ad-get-advice-info(find-file)
>   describe-function-1(find-file)
>   describe-function(find-file)
>   call-interactively(describe-function)

It's already been fixed on the trunk.

             Juanma

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-16  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16  8:55 [Unicode-2] C-h f doesn't work Katsumi Yamaoka
2007-10-16  9:43 ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).