branch: elpa/golden-ratio
commit d06170e2b72c89041193ae14417b561d38822d7f
Author: Albert Z Wang <[email protected]>
Commit: Albert Z Wang <[email protected]>
fix for persp-switch-quick
---
golden-ratio.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/golden-ratio.el b/golden-ratio.el
index b16441a8c4..655d7c0f75 100644
--- a/golden-ratio.el
+++ b/golden-ratio.el
@@ -171,8 +171,8 @@ will prevent the window to be resized to the golden ratio."
(when (or (memq this-command golden-ratio-extra-commands)
(and (consp this-command) ; A lambda form.
(loop for com in golden-ratio-extra-commands
- thereis (or (memq com this-command)
- (memq (car-safe com) this-command)))))
+ thereis (or (member com this-command)
+ (member (car-safe com) this-command)))))
;; This is needed in emacs-25 to avoid this error from `recenter':
;; `recenter'ing a window that does not display current-buffer.
;; This doesn't happen in emacs-24.4 and previous versions.