GNU bug report logs - #21201
25.0.50; (buffer-modified-p) errors inside cl-letf

Previous Next

Package: emacs;

Reported by: bruce.connor.am <at> gmail.com

Date: Thu, 6 Aug 2015 19:48:01 UTC

Severity: minor

Tags: fixed, patch

Merged with 29371

Found in versions 25.0.50, 26.0.50

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Richard <youngfrog <at> members.fsf.org>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 21201 <at> debbugs.gnu.org
Subject: bug#21201: 25.0.50; (buffer-modified-p) errors inside cl-letf
Date: Fri, 07 Aug 2015 00:50:45 +0200
Artur Malabarba <bruce.connor.am <at> gmail.com> writes:
> 2015-08-06 21:07 GMT+01:00 Nicolas Richard <youngfrog <at> members.fsf.org>:
>>  (gv-define-setter buffer-modified-p (flag &optional buf)
>> -  `(with-current-buffer ,buf
>> -     (set-buffer-modified-p ,flag)))
>> +  (if buf
>> +      `(with-current-buffer ,buf
>> +         (set-buffer-modified-p ,flag))
>> +    `(set-buffer-modified-p ,flag)))
>
> Don't know if it's possible, but shouldn't it try to ensure that it's
> in the same buffer as before?

I agree with you, but I don't know how to do that.




This bug report was last modified 6 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.