[Top][All Lists]

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

Re: What happens during eval-buffer?

From: Lennart Borgman
Subject: Re: What happens during eval-buffer?
Date: Tue, 16 May 2006 21:46:05 +0200
User-agent: Thunderbird (Windows/20060308)

Andreas Schwab wrote:
(let ((start (progn
              (goto-char (point-min))
              (search-forward "Start-here")
              (forward-line 2)
With that as the current buffer then do

   M-x eval-buffer

I get an error saying "Symbol's value as variable is void: <html>". Have I
done something completely wrong or?

Yes, replace progn by save-excursion.  You have modified point under
eval-buffer's feet, it will continue evaluation until point equals
Ah! Thanks.

reply via email to

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