From 33614d35a25b54c23171c360a61b913f0c1158ce Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Sat, 25 Feb 2017 19:06:26 -0500 Subject: 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. --- phox/phox-tags.el | 6 +++--- phox/phox.el | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'phox') 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 -- cgit v1.2.3