help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: changing cursor color depending on input method


From: Alexander Verbovetsky
Subject: Re: changing cursor color depending on input method
Date: Fri, 20 Feb 2004 20:21:04 +0300

Looks like this can be a solution (not very smart :-)

(add-hook 'post-command-hook
          '(lambda ()
             (set-cursor-color
              (if current-input-method
                  "red"
                "black")))))

Alex



reply via email to

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