Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
402 stars 44 forks source link

persp-copy: Fix adding buffers when not choosing #103

Closed Miciah closed 5 years ago

Miciah commented 5 years ago

Fix persp-copy to add buffers to the new perspective even when the list of buffers is not interactively chosen.

Commit b476af23e15c3c04072f9816afb686184849e177 broke this logic.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.0007%) to 0.81% when pulling 843b4a291215e8b775df1f09ac3868d3f2c063bd on Miciah:persp-copy-fix-adding-buffers-when-not-choosing into 689f63e7370cd9424d84b9f7b2eb3d1955443313 on Bad-ptr:master.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.001%) to 0.809% when pulling 55aa8a8854cb0f9e8d5bcc91e787fb38628f0646 on Miciah:persp-copy-fix-adding-buffers-when-not-choosing into 689f63e7370cd9424d84b9f7b2eb3d1955443313 on Bad-ptr:master.

Miciah commented 5 years ago

Pushed a quick fix to avoid calling persp-add-buffer with a nil value for buffs-or-names.

Bad-ptr commented 5 years ago

thanks, must be fixed