Changeset - 0b8f9ffbfcd7
[Not reviewed]
0 1 0
Sergey Pashinin - 11 years ago 2014-08-26 12:51:17
sergey@pashinin.com
optional workgroup
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/workgroups2.el
Show inline comments
 
@@ -3307,7 +3307,9 @@ new workgroup during a switch.")
 

	
 
(defun wg-flag-workgroup-modified (&optional workgroup)
 
  "Set WORKGROUP's and the current session's modified flags."
 
  (when wg-flag-modified
 
  (unless workgroup
 
    (setq workgroup (wg-get-workgroup nil t)))
 
  (when (and wg-flag-modified workgroup)
 
    (setf (wg-workgroup-modified workgroup) t)
 
    (wg-flag-session-modified)))
 

	
0 comments (0 inline, 0 general)