Skip to content

Commit

Permalink
Merge pull request #54 from tumashu/master
Browse files Browse the repository at this point in the history
Fix warn when compile switch-window with emacs-no-x
  • Loading branch information
tumashu authored Jul 1, 2017
2 parents 8d37f56 + fd502eb commit f4e3fde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions switch-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")
Expand Down

0 comments on commit f4e3fde

Please sign in to comment.