[Top][All Lists]

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

Re: yasq: unable to edebug-defun

From: Robert Thorpe
Subject: Re: yasq: unable to edebug-defun
Date: 15 Dec 2006 08:47:36 -0800
User-agent: G2/1.0

Mirko wrote:
> Robert Thorpe wrote:
> > Mirko wrote:
> (defun map-to-buffer (map buffer)
> (interactive)
> (switch-to-buffer buffer)
> (save-excursion
>   (save-window-excursion
>     (save-match-data
>       (widen)
>       (goto-char (point-min))
>       (insert "\\begin{document}\n"
>       (dump-map map)
>       (goto-char (point-max))
>       (insert "\n\\end{document")
>       (indent-region (point-min) (point-max) nil)
>       )))))

This sounds like a bug to me.  I'm using Emacs21 which doesn't have
dump-map, so I can't test your code, but the variable map certainly
doesn't look void.  Eval-defun(M-C-x) and Eval-last-sexp(C-xC-e)
shouldn't behave differently here.

reply via email to

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