branch: elpa/golden-ratio
commit 007911d8a431b72670f5fe5f0e5b4380c2777a31
Merge: f5807212d3 d06170e2b7
Author: Roman Gonzalez <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #62 from arbelt/persp-fix
    
    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 0b6103e62b..28a637d939 100644
--- a/golden-ratio.el
+++ b/golden-ratio.el
@@ -181,8 +181,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.

Reply via email to