[Top][All Lists]

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

Re: yasq: unable to edebug-defun

From: Johan Bockgård
Subject: Re: yasq: unable to edebug-defun
Date: Sat, 16 Dec 2006 16:34:59 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux)

"Mirko" <address@hidden> writes:

> Here is my example defun (this is for example only, I get similar
> behavior with other defuns)
> (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)
>       )))))
> If I put it into *scratch* to avoid interference with other dangling
> parenthesis (which I did not find) and put the point after the last
> parenthesis and do M-C-x, I get:
> Debugger entered--Lisp error: (void-variable map)

Indent your code correctly. To Emacs it looks like the defun begins


Johan Bockgård

reply via email to

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