From fd502eb5c87ad10992bd2dab1e55e33b187e78ce Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 1 Jul 2017 17:44:29 +0800 Subject: [PATCH] Fix warn when compile switch-window with emacs-no-x --- switch-window.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/switch-window.el b/switch-window.el index c21b9fe..3cabe8b 100755 --- a/switch-window.el +++ b/switch-window.el @@ -278,6 +278,9 @@ increase or decrease window's number, for example: :type 'boolean :group 'switch-window) +;; Fix warn when compile switch-window with emacs-no-x +(defvar image-types) + (defun switch-window--list-keyboard-keys () "Return a list of current keyboard layout keys" (cl-loop with layout = (split-string quail-keyboard-layout "")