emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Vincenzo Pupillo <v.pupillo@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] In emacs 28 "when" parameter are mandatory in function define-obsolete-function-alias
Date: Thu, 07 Jan 2021 05:21:44 GMT	[thread overview]
Message-ID: <87pn2hxqxm.fsf@kyleam.com> (raw)
In-Reply-To: <2193010.ElGaqSPkdT@localhost.localdomain>

Vincenzo Pupillo writes:

> Ciao, in emacs 28 (master branch, commit
> 32c6732d16385f242b1109517f25e9aefd6caa5c)
> define-obsolete-function-alias has "when" parameter mandatory.
> The line 376 of org-refile.el raise an error: "Wrong number of arguments: (3 . 4), 2"
>
> lisp/org-refile.el 
> 376:(define-obsolete-function-alias 'org-copy 'org-refile-copy)

Thanks for reporting.  This came up in
<https://orgmode.org/list/87o8i2cpb2.fsf@gmail.com> as well.

Fixed by 248dfcd71.


      reply	other threads:[~2021-01-07  5:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 14:16 [BUG] In emacs 28 "when" parameter are mandatory in function define-obsolete-function-alias Vincenzo Pupillo
2021-01-07  5:21 ` Kyle Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn2hxqxm.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=v.pupillo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).