branch: externals/gtags-mode commit 317ed007548f13806e417d618eb37ef828ced802 Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com> Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Assert we retun nil on error --- gtags-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtags-mode.el b/gtags-mode.el index 8983262566..39518a07d4 100644 --- a/gtags-mode.el +++ b/gtags-mode.el @@ -211,7 +211,8 @@ name, code, file, line." (string-to-number (match-string-no-properties 3 line))))) ;; line (gtags-mode--exec-sync (append args gtags-mode--output-format-options) symbol))) - (error "Calling gtags-mode--filter-find-symbol without GTAGSROOT"))) + (error "Calling gtags-mode--filter-find-symbol without GTAGSROOT") + nil)) (defun gtags-mode--update-buffers-plist () "Actions to perform after creating a database.