GNU bug report logs -
#17564
24.4.50; REGRESSION: (wrong-type-argument arrayp C-source)
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 23 May 2014 18:05:02 UTC
Severity: important
Found in versions 24.4.50, 24.3.91
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 17564-done <at> debbugs.gnu.org (full text, mbox):
> The code of `describe-function-1' seems to have changed to cause this
> regression. In this sexp of `describe-function-1':
> (and (or (byte-code-function-p def)
> (keymapp def)
> (memq (car-safe def) '(macro lambda closure)))
> file-name
> (help-fns--autoloaded-p function file-name))
> if the FUNCTION has been redefined, as below, each of the `and' clauses
> returns non-nil leading up to `help-fns--autoloaded-p', and that
> function fails because it is given `C-source' as its FILE-NAME arg.
I installed a trivial patch to avoid this problem.
> (or (fboundp '1on1-ORIG-top-level)
> (fset '1on1-ORIG-top-level (symbol-function 'top-level)))
>
> (defun top-level ()
> "Exit all recursive editing levels."
> (interactive)
> ;; (1on1-color-minibuffer-frame-on-exit)
> (1on1-ORIG-top-level))
Of course, using an advice here would be preferable.
Stefan
This bug report was last modified 10 years and 334 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.