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

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

[nongnu] elpa/php-mode 5e799dac48 2/5: Add php-mode-cc-version to php-mo


From: ELPA Syncer
Subject: [nongnu] elpa/php-mode 5e799dac48 2/5: Add php-mode-cc-version to php-mode-debug
Date: Sat, 12 Nov 2022 10:59:07 -0500 (EST)

branch: elpa/php-mode
commit 5e799dac48b146eda38d9a53f184d1e515689c73
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>

    Add php-mode-cc-version to php-mode-debug
---
 lisp/php-mode-debug.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/php-mode-debug.el b/lisp/php-mode-debug.el
index 57af5d4832..b9bd829c44 100644
--- a/lisp/php-mode-debug.el
+++ b/lisp/php-mode-debug.el
@@ -105,7 +105,12 @@ When CALLED-INTERACTIVE then message the result."
   (php-mode-debug--message "Pasting the following information on the issue 
will help us to investigate the cause.")
   (php-mode-debug--message "```")
   (php-mode-debug--message "--- PHP-MODE DEBUG BEGIN ---")
-  (php-mode-debug--message "versions: %s; %s; Cc Mode %s)" (emacs-version) 
(php-mode-version) c-version)
+  (php-mode-debug--message "versions: %s; %s; Cc Mode %s)"
+    (emacs-version)
+    (php-mode-version)
+    (if (string= php-mode-cc-version c-version)
+        c-version
+      (format "%s (php-mode-cc-version: %s *mismatched*)" c-version 
php-mode-cc-version)))
   (php-mode-debug--message "package-version: %s"
     (if (fboundp 'pkg-info)
         (pkg-info-version-info 'php-mode)



reply via email to

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