branch: master
commit 7c6357af3f014a1ead3ba203152037a1a394e6b3
Author: Alex Branham <[email protected]>
Commit: Alex Branham <[email protected]>
Define variable alias before referent
To avoid Emacs bug #5950
---
company-gtags.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/company-gtags.el b/company-gtags.el
index 02513ca..2a85f23 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -33,15 +33,15 @@
"Completion backend for GNU Global."
:group 'company)
+(define-obsolete-variable-alias
+ 'company-gtags-gnu-global-program-name
+ 'company-gtags-executable "earlier")
+
(defcustom company-gtags-executable
(executable-find "global")
"Location of GNU global executable."
:type 'string)
-(define-obsolete-variable-alias
- 'company-gtags-gnu-global-program-name
- 'company-gtags-executable "earlier")
-
(defcustom company-gtags-insert-arguments t
"When non-nil, insert function arguments as a template after completion."
:type 'boolean