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

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

[elpa] 169/352: Varmempi tapa tutkia, onko hiirivalikko käytössä


From: Stefan Monnier
Subject: [elpa] 169/352: Varmempi tapa tutkia, onko hiirivalikko käytössä
Date: Mon, 07 Jul 2014 14:03:37 +0000

monnier pushed a commit to branch master
in repository elpa.

commit ce6023aac4f92f8fe19477a44b04a767e0a3930e
Author: Teemu Likonen <address@hidden>
Date:   Wed Aug 4 07:12:15 2010 +0000

    Varmempi tapa tutkia, onko hiirivalikko käytössä
    
    Vaihdetaan muuttujan window-system testauksen tilalle funktio
    display-popup-menus-p, joka on oikea ja paljon luotettavampi tapa
    tutkia, onko hiirivalikko käytettävissä.
---
 wcheck-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wcheck-mode.el b/wcheck-mode.el
index 16e9428..a3df877 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -1076,7 +1076,7 @@ selecting suggestions. Otherwise use a text menu."
                (end (aref overlay-data 2))
                (suggestions (wcheck-get-suggestions wcheck-language text)))
           (unless (eq suggestions 'error)
-            (let ((chosen (if (and window-system popup-menu)
+            (let ((chosen (if (and (display-popup-menus-p) popup-menu)
                               (wcheck-choose-suggestion-popup suggestions)
                             (wcheck-choose-suggestion-minibuffer 
suggestions))))
               (when (and (stringp chosen)



reply via email to

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