[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: planner.el with-planner and cl
From: |
Jim Ottaway |
Subject: |
Re: [emacs-wiki-discuss] Re: planner.el with-planner and cl |
Date: |
Thu, 24 Mar 2005 17:57:34 +0000 |
User-agent: |
Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.2 (gnu/linux) |
>>>>> Mark Triggs <address@hidden> writes:
> The version of planner I have doesn't seem to use (declare ...) in any
> of its own macros. Is `with-current-buffer' definitely the place it's
> turning up?
> Cheers,
> Mark
The with-current-buffer is a bit of a red herring.
The declare form is in with-planner in the latest from the dev repository:
(defmacro with-planner (&rest body)
"Make sure BODY is evaluated in a `planner-mode' buffer."
(declare (indent 0) (debug t))
(if (planner-derived-mode-p 'planner-mode)
`(progn ,@body)
`(with-emacs-wiki-project planner-project
,@body)))
I suppose for backward compatibility with pre-CVS emacs these things should
be done with the old put method:
(put 'with-planner 'lisp-indent-function 0)
(put 'with-planner 'edebug-form-spec '(body))
etc.
--
Jim Ottaway