about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2015-09-19T04·34+0800
committerChris Feng <chris.w.feng@gmail.com>2015-09-19T04·34+0800
commit921e6e5be989b94b3b62d6db72d31fb16c24ee30 (patch)
tree9c5b8252ab4461059564c1a4023bb1a8e70fd870
parentc75a8b82ec2747a6fe7fc4b3a0dfaf1adca7ea64 (diff)
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.
-rw-r--r--exwm-floating.el1
-rw-r--r--exwm-layout.el2
-rw-r--r--exwm-workspace.el1
3 files changed, 2 insertions, 2 deletions
diff --git a/exwm-floating.el b/exwm-floating.el
index f8891befe0cc..36a658a767bb 100644
--- a/exwm-floating.el
+++ b/exwm-floating.el
@@ -30,7 +30,6 @@
 (require 'exwm-core)
 (eval-when-compile (require 'exwm-workspace))
 
-;;;###autoload
 (defvar exwm-floating-border-width 1 "Border width of the floating window.")
 (defvar exwm-floating-border-color "blue"
   "Border color of the floating window.")
diff --git a/exwm-layout.el b/exwm-layout.el
index 13bd08532618..4ccaef74500e 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -28,6 +28,8 @@
 (require 'exwm-core)
 (eval-when-compile (require 'exwm-workspace))
 
+(defvar exwm-floating-border-width)
+
 ;;;###autoload
 (defun exwm-layout--show (id &optional window)
   "Show window ID exactly fit in the Emacs window WINDOW."
diff --git a/exwm-workspace.el b/exwm-workspace.el
index a6f21b279480..6f76d2061ad6 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -63,7 +63,6 @@
 
 (defvar exwm-workspace--switch-history nil
   "History for `read-from-minibuffer' to interactively switch workspace.")
-;;;###autoload
 (defvar exwm-workspace--switch-history-outdated nil
   "Non-nil to indicate `exwm-workspace--switch-history' is outdated.")