Changeset - b89b3fae0af7
[Not reviewed]
0 1 0
Sergey Pashinin - 12 years ago 2013-08-26 14:12:49
sergey@pashinin.com
fixed autocreation of first workgroup
1 file changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/workgroups2.el
Show inline comments
 
@@ -233,13 +233,14 @@ If ARG is anything else, turn on `workgroups-mode'."
 
    (wg-add-or-remove-workgroups-hooks t)
 
    (wg-remove-mode-line-display)
 
    (run-hooks 'workgroups-mode-exit-hook)))
 
  (wg-fontified-message
 
    (:cmd "Workgroups Mode: ")
 
    (:msg (if workgroups-mode "on" "off")))
 
  ;;(if (and workgroups-mode
 
  ;;         (= (length (wg-workgroup-list)) 0))
 
  ;;    (wg-create-workgroup "First workgroup"))
 
  (if (and workgroups-mode
 
           wg-use-default-session-file
 
           (= (length (wg-workgroup-list)) 0))
 
      (wg-create-workgroup "First workgroup"))
 
  workgroups-mode)
 

	
 
(provide 'workgroups2)
 
;;; workgroups2.el ends here
0 comments (0 inline, 0 general)