Changeset - 0ad2b10d2d2d
[Not reviewed]
0 1 0
Sergey Pashinin - 11 years ago 2014-08-04 20:46:47
sergey@pashinin.com
Use var name instead of "it"
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/workgroups-buf.el
Show inline comments
 
@@ -91,13 +91,13 @@ If BUF's file doesn't exist, call `wg-restore-default-buffer'"
 
       (buffer (save-window-excursion
 
                 (condition-case err
 
                     (funcall (car special-data) buf)
 
                   (error (message "Error deserializing %S: %S"
 
                                   (wg-buf-name buf) err)
 
                          nil)))))
 
    (if switch (switch-to-buffer it t))
 
    (if switch (switch-to-buffer buffer t))
 
    (wg-set-buffer-uid-or-error (wg-buf-uid buf))
 
    buffer))
 

	
 
(defun wg-restore-buffer (buf &optional switch)
 
  "Restore BUF, return it and maybe SWITCH to it."
 
  (or (wg-restore-existing-buffer buf switch)
0 comments (0 inline, 0 general)