[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to put this in a macro
|
From: |
Cecil Westerhof |
|
Subject: |
Re: How to put this in a macro |
|
Date: |
Tue, 04 May 2010 15:44:56 -0000 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Barry Margolin <address@hidden> writes:
> (defmacro canonicalize-start-end (start-var end-var)
> `(if (equal ,start-var ,end-var)
> (setq ,start-var (point-min)
> ,end-var (point-max))
> (setq ,start-var (or ,start-var (point-min))
> ,end-var (or ,end-var (point-max))))
This gives an error:
Debugger entered--Lisp error: (void-variable start-var)
(list (quote equal) start-var end-var)
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
- How to put this in a macro, Cecil Westerhof, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Barry Margolin, 2010/05/04
- Re: How to put this in a macro,
Cecil Westerhof <=
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Cecil Westerhof, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Cecil Westerhof, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Barry Margolin, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Barry Margolin, 2010/05/04
- Re: How to put this in a macro, Cecil Westerhof, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04