about summary refs log tree commit diff
path: root/exwm-floating.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2018-03-10T09·28+0800
committerChris Feng <chris.w.feng@gmail.com>2018-03-10T09·28+0800
commit3f6c609a2b1580d77a9863e205718cbba3872bcb (patch)
tree1c482e4d6f610633953ff8db19b3160f76e7179a /exwm-floating.el
parentcb8706f91c1c343a9bf392c9deaadc0c42d4dba6 (diff)
Fix regressions
(exwm-init): Do not signal an error on startup.

* exwm-floating.el (exwm-floating-toggle-floating):
* exwm-input (exwm-input-send-next-key)
(exwm-input-send-simulation-key):
* exwm-layout (exwm-layout-set-fullscreen)
(exwm-layout-unset-fullscreen, exwm-layout-toggle-fullscreen): Fix
incorrect use of `cl-return-from'.
Diffstat (limited to 'exwm-floating.el')
-rw-r--r--exwm-floating.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-floating.el b/exwm-floating.el
index 8b1612e42a42..0210492b18e8 100644
--- a/exwm-floating.el
+++ b/exwm-floating.el
@@ -401,7 +401,7 @@ This is also used by X window containers.")
   "Toggle the current window between floating and non-floating states."
   (interactive)
   (unless (derived-mode-p 'exwm-mode)
-    (cl-return-from 'exwm-floating-toggle-floating))
+    (cl-return-from exwm-floating-toggle-floating))
   (with-current-buffer (window-buffer)
     (if exwm--floating-frame
         (exwm-floating--unset-floating exwm--id)