branch: externals/gtags-mode commit c823dcffc9a5fa96f425679a1721bfc3c03a68d5 Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com> Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Assert not call plist-put for nil --- gtags-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtags-mode.el b/gtags-mode.el index e67d5980ea..4071b5fb75 100644 --- a/gtags-mode.el +++ b/gtags-mode.el @@ -108,7 +108,8 @@ This is the sentinel set in `gtags-mode--exec-async'." (message "Global async error output:\n%s" (buffer-string)))) (when (buffer-live-p parent-buffer) ;; Always clear the cache (with-current-buffer parent-buffer - (plist-put gtags-mode--plist :cache nil))) + (when gtags-mode--plist + (plist-put gtags-mode--plist :cache nil)))) ;; TODO: use `remote-command' in the future, it will be on emacs 29.1 (message "Async %s: %s" (process-get process :command) event))) ;; Notify