emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 255a011: Add `save-mark-and-excursion', which h


From: Daniel Colascione
Subject: Re: [Emacs-diffs] master 255a011: Add `save-mark-and-excursion', which has the old `save-excursion' behavior
Date: Tue, 05 May 2015 11:04:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 05/05/2015 10:50 AM, Stefan Monnier wrote:
>>>> +      (setf nmark (marker-position saved-mark))
>>> ^^^^
>>> Old habits die hard.
>> Should `setf' be avoided?  Is it only when `setq' would do instead?
> 
> Sorry, I guess `setf' work as well, here.  I've just been bitten by
> bootstrapping problems too many times, but simple.el should be late
> enough that it can't be a problem.

There ought to be a file-local variable marking early-loadup files that
tells the compiler to warn about certain otherwise-safe facilities.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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