diff options
| author | gcv <gepardcv@gmail.com> | 2020-11-13 20:47:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-13 20:47:34 -0800 |
| commit | 63cddcdfb8a777178bc976df1079030701fc3310 (patch) | |
| tree | 10cbb6efd334bb54250276d23c37b1bbebaf8b55 | |
| parent | 20dfc8ce4eb8203713637f241d083f23678af01c (diff) | |
| parent | 7dc0320b2419e8338acf518d176c21deb9cecfbe (diff) | |
Merge pull request #136 from gcentauri/fix-switch-buffer
Fix: persp-switch-buffer use ivy-switch-buffer as caller
| -rw-r--r-- | perspective.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perspective.el b/perspective.el index d790119..0b83e5d 100644 --- a/perspective.el +++ b/perspective.el @@ -1260,6 +1260,7 @@ PERSP-SET-IDO-BUFFERS)." (cl-remove-if #'null (mapcar #'buffer-name (persp-current-buffers))) :preselect (buffer-name (persp-other-buffer (current-buffer))) :keymap ivy-switch-buffer-map + :caller #'ivy-switch-buffer :action #'ivy--switch-buffer-action :matcher #'ivy--switch-buffer-matcher) ivy-params)) @@ -1293,8 +1294,7 @@ PERSP-SET-IDO-BUFFERS)." (declare-function counsel--switch-buffer-unwind "counsel.el") (declare-function counsel--switch-buffer-update-fn "counsel.el") (persp--switch-buffer-ivy-counsel-helper arg - (list :caller #'counsel-switch-buffer - :unwind #'counsel--switch-buffer-unwind + (list :unwind #'counsel--switch-buffer-unwind :update-fn #'counsel--switch-buffer-update-fn) #'counsel-switch-buffer)) |
