Changeset - b203399526f1
[Not reviewed]
0 1 0
Sergey Pashinin - 13 years ago 2013-05-06 18:54:18
sergey@pashinin.com
restore Magit only if dir exists
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/workgroups-specialbufs.el
Show inline comments
 
@@ -82,7 +82,8 @@ Since `help-mode' is used by many buffers that aren't actually
 
  (if (boundp 'magit-status-mode-map)
 
      (wg-dbind (this-function dir) (wg-buf-special-data buf)
 
        (let ((default-directory (car dir)))
 
          (magit-status default-directory)
 
          (if (file-exists-p default-directory)
 
              (magit-status default-directory))
 
          (current-buffer)
 
          ))))
 

	
0 comments (0 inline, 0 general)