We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
persp-mode.el/persp-mode.el
Lines 1418 to 1424 in 67be9fe
I'm an elisp noob, but here's the :generated-predicate for one of my auto perspectives:
:generated-predicate
(lambda (buffer &rest rest-args) (when (buffer-live-p buffer) (with-current-buffer buffer (let (cond-result) (when (cl-member-if #'(lambda (item) (setq cond-result (cond ((symbolp item) (eq item major-mode)) ((persp-regexp-p item) (persp-string-match-p item (symbol-name major-mode))) (t nil)))) '(vterm-mode)) (car rest-args))))))
This predicate returns nil on vterm-mode buffers, and it seems to be because cond-result is never returned.
nil
cond-result
The text was updated successfully, but these errors were encountered:
No branches or pull requests
persp-mode.el/persp-mode.el
Lines 1418 to 1424 in 67be9fe
I'm an elisp noob, but here's the
:generated-predicate
for one of my auto perspectives:This predicate returns
nil
on vterm-mode buffers, and it seems to be becausecond-result
is never returned.The text was updated successfully, but these errors were encountered: