Closed CestDiego closed 9 years ago
@Bad-ptr just as a side-note, is there a way to blacklist
a perspective so it's not saved? For example I have a custom perspective for ERC, and when I restart Emacs the perspective just stays there without connecting.
is there a way to blacklist a perspective so it's not saved?
No, but it could be implemented.
How could it be implemented? Any hints? On Sep 7, 2015 3:37 AM, "Constantin Kulikov" notifications@github.com wrote:
is there a way to blacklist a perspective so it's not saved?
No, but it could be implemented.
— Reply to this email directly or view it on GitHub https://github.com/Bad-ptr/persp-mode.el/pull/19#issuecomment-138236530.
I was near to press the 'merge pull request' button, but then decided to take a closer look...)
In the persp-next you use cl-position
, and in the persp-prev -- position
. As persp-mode currently uses cl (not cl-lib), the right function to use is position
.(Am I right?)
is there a way to blacklist a perspective so it's not saved?
How could it be implemented? Any hints?
The hint:
I think you could set something like dont-save-to-file
perspective parameter(see set-persp-parameter
and persp-parameter
functions) and filter out perspectives which have this parameter set to t
in the persps-to-savelist
function.
In the persp-next you use cl-position
This was a typo. I fixed it
just like in perspectives.el