Avoid autoloading variables

* exwm-floating.el:
* exwm-layout.el:
  Avoid autoloading exwm-floating-border-width.
* exwm-workspace.el:
  Avoid autoloading exwm-workspace--switch-history-outdated.
This commit is contained in:
Chris Feng 2015-09-19 12:34:30 +08:00
parent c75a8b82ec
commit 921e6e5be9
3 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,6 @@
(require 'exwm-core) (require 'exwm-core)
(eval-when-compile (require 'exwm-workspace)) (eval-when-compile (require 'exwm-workspace))
;;;###autoload
(defvar exwm-floating-border-width 1 "Border width of the floating window.") (defvar exwm-floating-border-width 1 "Border width of the floating window.")
(defvar exwm-floating-border-color "blue" (defvar exwm-floating-border-color "blue"
"Border color of the floating window.") "Border color of the floating window.")

View file

@ -28,6 +28,8 @@
(require 'exwm-core) (require 'exwm-core)
(eval-when-compile (require 'exwm-workspace)) (eval-when-compile (require 'exwm-workspace))
(defvar exwm-floating-border-width)
;;;###autoload ;;;###autoload
(defun exwm-layout--show (id &optional window) (defun exwm-layout--show (id &optional window)
"Show window ID exactly fit in the Emacs window WINDOW." "Show window ID exactly fit in the Emacs window WINDOW."

View file

@ -63,7 +63,6 @@
(defvar exwm-workspace--switch-history nil (defvar exwm-workspace--switch-history nil
"History for `read-from-minibuffer' to interactively switch workspace.") "History for `read-from-minibuffer' to interactively switch workspace.")
;;;###autoload
(defvar exwm-workspace--switch-history-outdated nil (defvar exwm-workspace--switch-history-outdated nil
"Non-nil to indicate `exwm-workspace--switch-history' is outdated.") "Non-nil to indicate `exwm-workspace--switch-history' is outdated.")