Skip to content

Commit

Permalink
Use cl-subseq
Browse files Browse the repository at this point in the history
  • Loading branch information
pashinin committed Jul 30, 2014
1 parent 4de89da commit 2383e0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/workgroups-win.el
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ Return value."
:minibuffer-scroll (eq window minibuffer-scroll-window)
:dedicated (window-dedicated-p window)
:buf-uid (wg-buffer-uid-or-add (window-buffer window))))
(wg-set-win-parameter win 'next-buffers
(wg-pickel (remove nil (subseq (window-next-buffers window) 0 4))))
(wg-set-win-parameter win 'prev-buffers
(wg-pickel (remove nil (subseq (window-prev-buffers window) 0 4))))
(wg-set-win-parameter
win 'next-buffers (wg-pickel (remove nil (cl-subseq (window-next-buffers window) 0 4))))
(wg-set-win-parameter
win 'prev-buffers (wg-pickel (remove nil (cl-subseq (window-prev-buffers window) 0 4))))
)
win))

Expand Down

0 comments on commit 2383e0d

Please sign in to comment.