Changeset - 0b42c7885c77
[Not reviewed]
0 1 0
Sergey Pashinin - 11 years ago 2014-08-30 12:12:44
sergey@pashinin.com
Currently save session not checking modified flag
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/workgroups2.el
Show inline comments
 
@@ -4269,9 +4269,9 @@ confirmation is required unless you supply a prefix argument."
 
  "Save the current Workgroups session if it's been modified.
 
When FORCE - save session regardless of whether it's been modified."
 
  (interactive "P")
 
  (if (and (not (wg-modified-p)) (not force))
 
      (wg-message "(The session is unmodified)")
 
    (wg-save-session-as (wg-get-session-file))))
 
  ;;(if (and (not (wg-modified-p)) (not force))
 
  ;;    (wg-message "(The session is unmodified)")
 
  (wg-save-session-as (wg-get-session-file)))
 

	
 
(defun wg-reset-internal (&optional session)
 
  "Reset Workgroups, setting `wg-current-session' to SESSION.
0 comments (0 inline, 0 general)