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

Avoid "no tags containing" error in hook skeleton #66

Closed joddie closed 9 years ago

joddie commented 9 years ago

The hook implementation skeleton funcalls drupal-get-function-args to check whether the new function implementation already exists elsewhere in the project. When the value of this variable is drupal/etags-get-function-args, it throws an error for non-existent function names, making it impossible to insert a new implementation. Adding ignore-errors around the call fixes this.

arnested commented 9 years ago

Thank you once again!