Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aio-defun doesn't support declarations #12

Open
phst opened this issue Apr 7, 2020 · 1 comment · May be fixed by #14
Open

aio-defun doesn't support declarations #12

phst opened this issue Apr 7, 2020 · 1 comment · May be fixed by #14

Comments

@phst
Copy link
Contributor

phst commented Apr 7, 2020

For example, after

(aio-defun func ()
  (declare (obsolete ("foo"))))

C-h f func RET won't show that the function is obsolete. Applying declarations is done by the defun macro; probably aio-defun should wrap defun in the same way that iter-defun wraps defun.

@skeeto
Copy link
Owner

skeeto commented Apr 10, 2020 via email

phst added a commit to phst/emacs-aio that referenced this issue Apr 12, 2020
@phst phst linked a pull request Apr 12, 2020 that will close this issue
phst added a commit to phst/emacs-aio that referenced this issue Apr 12, 2020
phst added a commit to phst/emacs-aio that referenced this issue Apr 2, 2021
kiennq added a commit to kiennq/emacs-aio that referenced this issue Dec 1, 2021
commit ee0e9ff
Author: Philipp Stephani <[email protected]>
Date:   Sun Apr 12 10:11:57 2020 +0200

    Support ‘declare’ forms in ‘aio-defun’

    Fixes skeeto#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants