aboutsummaryrefslogtreecommitdiffhomepage
path: root/phox
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-02-25 19:06:26 -0500
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-03-08 15:06:17 -0500
commit33614d35a25b54c23171c360a61b913f0c1158ce (patch)
treeb01a2717d7a59088c9688582bafbc9ac21793498 /phox
parent70dfbc54d9a6b559dbfcfd6105a7e8c80d78d888 (diff)
Fix incorrect uses of defvar
It didn't really matter that these variables were defined and set to nil during compilation, since we ran compilation in a clean Emacs in --batch mode; it does matter now, however, since package.el compiles PG in the user's currently running Emacs instance.
Diffstat (limited to 'phox')
-rw-r--r--phox/phox-tags.el6
-rw-r--r--phox/phox.el2
2 files changed, 4 insertions, 4 deletions
diff --git a/phox/phox-tags.el b/phox/phox-tags.el
index 603622a6..73ed659b 100644
--- a/phox/phox-tags.el
+++ b/phox/phox-tags.el
@@ -18,9 +18,9 @@
(require 'etags)
(eval-when-compile
- (defvar phox-doc-dir nil)
- (defvar phox-lib-dir nil)
- (defvar phox-etags nil))
+ (defvar phox-doc-dir)
+ (defvar phox-lib-dir)
+ (defvar phox-etags))
(defun phox-tags-add-table(table)
diff --git a/phox/phox.el b/phox/phox.el
index 27b9cac0..79b8e747 100644
--- a/phox/phox.el
+++ b/phox/phox.el
@@ -7,7 +7,7 @@
;; loaded).
(eval-when-compile
- (defvar phox-toolbar-entries nil))
+ (defvar phox-toolbar-entries))
(eval-after-load "pg-custom"
'(setq phox-toolbar-entries