emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#14590: closed (function-arity fails for adviced fu


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14590: closed (function-arity fails for adviced functions)
Date: Tue, 11 Jun 2013 21:55:02 +0000

Your message dated Tue, 11 Jun 2013 17:54:16 -0400
with message-id <address@hidden>
and subject line Re: bug#14590: function-arity fails for adviced functions
has caused the debbugs.gnu.org bug report #14590,
regarding function-arity fails for adviced functions
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14590: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14590
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: function-arity fails for adviced functions Date: Tue, 11 Jun 2013 18:31:59 +0200
Package: emacs
Version: 24.3.50


emacs -Q

(progn
  (defun test (a &optional b) nil)
  (function-arity 'test))

=> (1 . 2)

(progn
  (defadvice test (around test activate) ad-do-it)
  (function-arity 'test))

=>

Debugger entered--Lisp error: (wrong-type-argument sequencep 128)
  function-arity(test)
  (progn (progn (ad-add-advice (quote test) (quote (test nil t (advice
lambda nil ad-do-it))) (quote around) (quote nil)) (ad-activate (quote
test) nil) (quote test)) (function-arity (quote test)))
  eval((progn (progn (ad-add-advice (quote test) (quote (test nil t
(advice lambda nil ad-do-it))) (quote around) (quote nil))
(ad-activate (quote test) nil) (quote test)) (function-arity (quote
test))) nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)



--- End Message ---
--- Begin Message --- Subject: Re: bug#14590: function-arity fails for adviced functions Date: Tue, 11 Jun 2013 17:54:16 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
>   (function-arity 'test))
> =>
> Debugger entered--Lisp error: (wrong-type-argument sequencep 128)

Oops, sorry.  This function was added by mistake.  Thanks, removed,


        Stefan


--- End Message ---

reply via email to

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