unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: "Void function setf" in emacs 24.1
Date: Thu, 27 Jun 2013 11:32:31 +0200	[thread overview]
Message-ID: <87txkj291s.fsf@turtle.gmx.de> (raw)
In-Reply-To: mailman.2535.1372324686.22516.help-gnu-emacs@gnu.org

On 2013-06-27 11:17 +0200, Klaus-Dieter Bauer wrote:

> I wanted to demonstrate some emacs lisp today to a colleague (Ubuntu, emacs
> 24.1). However when I wrote "(setf x (1+ x))" I got an error "void function
> setf".
>
> On my system I have been using setf for some while now combined with
> compiling my source files in a new emacs session without initialization
> file in order to get error messages about missing imports, functions yet to
> be implemented etc. Hence I'm pretty sure that on my system setf is defined
> without explicitly requiring 'gv since some versions.
>
> Am I just wrong and setf was introduced as a default autoload after 24.1?

Correct, it's only autoloaded in 24.3 and later, according to the NEWS
file.  In previous versions you need to (require 'cl), I think.

Cheers,
       Sven


       reply	other threads:[~2013-06-27  9:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2535.1372324686.22516.help-gnu-emacs@gnu.org>
2013-06-27  9:32 ` Sven Joachim [this message]
2013-06-27  9:17 "Void function setf" in emacs 24.1 Klaus-Dieter Bauer
2013-06-27  9:32 ` Teemu Likonen
2013-06-27 12:16   ` Klaus-Dieter Bauer
2013-06-27 11:16 ` Stephen Berman
2013-06-27 12:00   ` Klaus-Dieter Bauer
2013-06-27 14:51 ` Stefan Monnier

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87txkj291s.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).