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

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

Re: "Void function setf" in emacs 24.1


From: Sven Joachim
Subject: Re: "Void function setf" in emacs 24.1
Date: Thu, 27 Jun 2013 11:32:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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 via email to

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