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

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

[nongnu] elpa/drupal-mode 7682fe81f5 079/308: Fixed argument tip when no


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 7682fe81f5 079/308: Fixed argument tip when no window-system.
Date: Tue, 25 Jan 2022 10:59:31 -0500 (EST)

branch: elpa/drupal-mode
commit 7682fe81f5007412b40e0d3743f173ccb53487f1
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    Fixed argument tip when no window-system.
---
 drupal-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 14d655ae75..4c60128b86 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -462,7 +462,9 @@ instead."
     (let* ((symbol (php-get-pattern))
            (args (funcall drupal-get-function-args symbol)))
       (when args
-        (pos-tip-show (format "%s(%s)" symbol args))))))
+        (if (window-system)
+            (pos-tip-show (format "%s(%s)" symbol args))
+          (message "%s" (format "%s(%s)" symbol args)))))))
 
 
 



reply via email to

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