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

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

bug#17589: 24.3.91; lisp/frameset.el


From: martin rudalics
Subject: bug#17589: 24.3.91; lisp/frameset.el
Date: Tue, 27 May 2014 15:09:26 +0200

>> If the WRITABLE argument of `window-state-get' is non-nil use the
>> buffer name and the buffer object otherwise.
>
> Oh, I see. Yes, that makes sense.

Could you test it?


--- lisp/window.el      2014-05-25 10:06:35 +0000
+++ lisp/window.el      2014-05-27 12:57:50 +0000
@@ -4875,7 +4875,7 @@
                (let ((point (window-point window))
                      (start (window-start window)))
                  `((buffer
-                    ,(buffer-name buffer)
+                    ,(if writable (buffer-name buffer) buffer)
                     (selected . ,selected)
                     (hscroll . ,(window-hscroll window))
                     (fringes . ,(window-fringes window))


martin





reply via email to

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