diff options
| author | Constantine Vetoshev <gepardcv@gmail.com> | 2021-10-31 21:05:18 -0700 |
|---|---|---|
| committer | Constantine Vetoshev <gepardcv@gmail.com> | 2021-10-31 21:05:18 -0700 |
| commit | 520b038b9d8d993fd5e2cf082439744d4de5cf57 (patch) | |
| tree | b4e5e0c781c08be2614426f1cf57d823aa0b2e8e | |
| parent | 06e88e5d66e459d901d50ff620ad5e82410c3576 (diff) | |
Try to fix https://github.com/nex3/perspective-el/issues/167
| -rw-r--r-- | perspective.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perspective.el b/perspective.el index 2939281..db7a41d 100644 --- a/perspective.el +++ b/perspective.el @@ -706,7 +706,7 @@ If NORECORD is non-nil, do not update the ;; TODO: See https://github.com/nex3/perspective-el/issues/163 for the source ;; of this workaround. It would be good to investigate exactly why recursive ;; minibuffers break Perspective. - (when (> (minibuffer-depth) 0) + (when (> (recursion-depth) 0) (user-error "Perspective operations in recursive minibuffers not supported")) (unless (persp-valid-name-p name) (setq name (persp-prompt (and (persp-last) (persp-name (persp-last)))))) |
