emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gtags-mode c823dcffc9 49/61: Assert not call plist-put


From: ELPA Syncer
Subject: [elpa] externals/gtags-mode c823dcffc9 49/61: Assert not call plist-put for nil
Date: Thu, 28 Apr 2022 10:57:42 -0400 (EDT)

branch: externals/gtags-mode
commit c823dcffc9a5fa96f425679a1721bfc3c03a68d5
Author: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinovish@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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]