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

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

bug#3844: 23.1.50; Sample of code in manual does not compile


From: Chong Yidong
Subject: bug#3844: 23.1.50; Sample of code in manual does not compile
Date: Tue, 14 Jul 2009 10:49:02 -0400

> On the page 
> http://www.gnu.org/software/emacs/manual/html_node/elisp/Simple-Macro.html#Simple-Macro
> is example usage of macro but macro called 'inc' does not compile in
> *scratch* by using C-x C-e.

I can't reproduce this problem.  Please provide the exact recipe for
seeing this bug.  What I tried is

1. emacs -Q
2. Insert this in the *scratch* buffer:
(defmacro inc (var)
  (list 'setq var (list '1+ var)))
3. C-x C-e

The word "inc" appears in the echo area.





reply via email to

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