emacs-devel
[Top][All Lists]
Advanced

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

Re: `goto-char' in callback to `url-retrieve'


From: Lynbech Christian
Subject: Re: `goto-char' in callback to `url-retrieve'
Date: Thu, 1 Mar 2012 11:27:45 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

Even if not truly relevant here (due to the save-excursion mentioned in
the followup), you may want to consider using

        (goto-char (point-min))

as a better idiom than 

        (goto-char 0)

since the former will also correctly handle narrowed buffers.


------------------------+-----------------------------------------------------
Christian Lynbech       | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - address@hidden (Michael A. Petonic)





reply via email to

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