Skip to content

Commit

Permalink
donot save minibuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Jul 2, 2022
1 parent ccd6948 commit ea53e81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/workgroups2.el
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ Remove file and dired buffers that are not associated with workgroup."
(wg-buf-uids (wg-workgroup-associated-buf-uids)))
(cl-remove-if (lambda (it)
(and (or (buffer-file-name it)
(eq (buffer-local-value 'major-mode it) 'dired-mode))
(memq (buffer-local-value 'major-mode it)
'(dired-mode
minibuffer-inactive-mode
minibuffer-mode)))
;;(not (member b wg-buffers))
(not (member (wg-buffer-uid-or-add it) wg-buf-uids))) )
res)))
Expand Down

0 comments on commit ea53e81

Please sign in to comment.