arnested / drupal-mode

Advanced Emacs minor mode for Drupal development
https://melpa.org/#/drupal-mode
GNU General Public License v3.0
32 stars 14 forks source link

symbol's value as variable is void: gtags-auto-update #61

Closed bmag closed 9 years ago

bmag commented 9 years ago

Looks like a recent commit introduced a bug. gtags-auto-update is being accessed when it isn't defined, causing an error: "symbol's value as variable is void: gtags-auto-update".

Backtrace:

Debugger entered--Lisp error: (void-variable gtags-auto-update)
  (if (boundp (quote gtags-auto-update)) nil gtags-auto-update)
  (unless (boundp (quote gtags-auto-update)) gtags-auto-update)
  (and (unless (boundp (quote gtags-auto-update)) gtags-auto-update) drupal-drush-program (zerop (call-process drupal-drush-program nil nil nil "help" "etags")))
  eval((and (unless (boundp (quote gtags-auto-update)) gtags-auto-update) drupal-drush-program (zerop (call-process drupal-drush-program nil nil nil "help" "etags"))))
  byte-code("\303\304N\211\203

Original issue reported in Spacemacs: https://github.com/syl20bnr/spacemacs/issues/2153

arnested commented 9 years ago

I should not be no less not caring when doing double negations or something.

Thanks for the report.

Will do an official release right away.