help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: require basic stuff from specific packages


From: Emanuel Berg
Subject: Re: require basic stuff from specific packages
Date: Wed, 10 Aug 2016 21:43:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Udyant Wig wrote:

> I cannot tell if you are serious in your
> question seeing that you required `cl-lib' in
> your own implementation. Thus, I presume that
> you were at least somewhat familiar with the
> Common Lisp emulation package, and so I am
> puzzled how you missed `defun*'.

...

> In any case, C-h f tells me, at least, that
>
>   defun* is an alias for `cl-defun' in `cl.el'.
>
>   (defun* NAME ARGLIST [DOCSTRING] BODY...)
>
>   Define NAME as a function. Like normal
> `defun', except ARGLIST allows full Common Lisp
> conventions, and BODY is implicitly surrounded
> by (cl-block NAME ...).
>
> I made the mistake of using the alias `defun*'
> instead of the namespace clean `cl-defun',
> simply because I have been using the star
> suffixed form since before "Stefan Monnier
> added the file ‘cl-lib.el’ and rationalized the
> namespace for Emacs 24.3." (from the GNU Emacs
> Common Lisp Emulation Info manual), but that
> does not alter my basic point.

Patronizing -> instant KILL.

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 64 Blogomatic articles -                   


reply via email to

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