bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21201: 25.0.50; (buffer-modified-p) errors inside cl-letf


From: Noam Postavsky
Subject: bug#21201: 25.0.50; (buffer-modified-p) errors inside cl-letf
Date: Mon, 27 Aug 2018 20:01:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

tags 21201 fixed
close 21201 27.1
quit

Noam Postavsky <address@hidden> writes:

>  (gv-define-setter buffer-modified-p (flag &optional buf)
> -  `(with-current-buffer ,buf
> -     (set-buffer-modified-p ,flag)))
> +  (macroexp-let2 nil buffer `(or ,buf (current-buffer))
> +    `(with-current-buffer ,buffer
> +       (set-buffer-modified-p ,flag))))

Pushed to master.

[1: c8b86362d4]: 2018-08-27 18:54:23 -0400
  Allow setf of buffer-modified-p without argument (Bug#21201)
  
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c8b86362d45a07e0aec0041cade551c3c663ea8c





reply via email to

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