Skip to content

Commit

Permalink
Merge 8b18e22 into a33c91e
Browse files Browse the repository at this point in the history
  • Loading branch information
delaanthonio authored Aug 2, 2017
2 parents a33c91e + 8b18e22 commit 71f2bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions persp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ second -- a root window(default is the root window of the selected frame)."
#'(lambda (pwc &optional frame rwin)
(when (or frame (setq frame (selected-frame)))
(with-selected-frame frame
(flet ((wg-switch-to-window-buffer
(cl-flet ((wg-switch-to-window-buffer
(win)
"Switch to a buffer determined from WIN's fname and bname.
Return the buffer if it was found, nil otherwise."
Expand Down Expand Up @@ -1123,7 +1123,7 @@ the selected window to a wrong buffer.")
(persp-restrict-buffers-to-if-foreign-buffer
,restriction-foreign-override)
,@(if cache `(persp-buffer-list-cache) nil))
(flet ((buffer-list (&optional frame)
(cl-flet ((buffer-list (&optional frame)
,(if cache
`(if persp-buffer-list-cache
persp-buffer-list-cache
Expand Down

0 comments on commit 71f2bda

Please sign in to comment.