[Top][All Lists]

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

[PATCH] window.el: Remove mark saving and restoring

From: Jérémy Compostella
Subject: [PATCH] window.el: Remove mark saving and restoring
Date: Thu, 19 Jan 2012 14:54:45 +0100


Working on the "desktop.el: Add frames and windows configuration
save&restore" thread I'm trying to use the `window-state-get' and
`window-state-put' functions. I got a bad behavior. Indeed when I
restore a window from its previous state, the mark is modified and
activated. As long as I know, mark is buffer related and not window
related so we don't have to save and restore it here. The author himself
commented this code part with :

;; I'm not sure whether we should set the mark here, but maybe
;; it can be used.

I propose the attached patch which removes the mark save&restore part.



Attachment: 0001-window.el-Remove-mark-saving-and-restoring.patch
Description: 0001-window.el-Remove-mark-saving-and-restoring.patch

reply via email to

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