emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f68b463: ; * src/keyboard.c (make_lispy_event): Fix


From: Eli Zaretskii
Subject: [Emacs-diffs] master f68b463: ; * src/keyboard.c (make_lispy_event): Fix code formatting in last change.
Date: Sat, 15 Oct 2016 14:22:37 +0000 (UTC)

branch: master
commit f68b463d1b05c7cd45b66a5cb0977c21016f5ea5
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * src/keyboard.c (make_lispy_event): Fix code formatting in last change.
---
 src/keyboard.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index 87a6851..bb411e7 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5422,26 +5422,26 @@ make_lispy_event (struct input_event *event)
         /* Caps-lock shouldn't affect interpretation of key chords:
            Control+s should produce C-s whether caps-lock is on or
            not.  And Control+Shift+s should produce C-S-s whether
-           caps-lock is on or not. */
+           caps-lock is on or not.  */
         if (event->modifiers & ~shift_modifier)
         {
-            /* this is a key chord: some non-shift modifier is
-               depressed */
+            /* This is a key chord: some non-shift modifier is
+               depressed.  */
 
             if (uppercasep (c) &&
                 !(event->modifiers & shift_modifier))
             {
                 /* Got a capital letter without a shift.  The caps
-                   lock is on.   Un-capitalize the letter */
-                c = downcase(c);
+                   lock is on.   Un-capitalize the letter.  */
+                c = downcase (c);
             }
             else if (lowercasep (c) &&
                      (event->modifiers & shift_modifier))
             {
                 /* Got a lower-case letter even though shift is
                    depressed.  The caps lock is on.  Capitalize the
-                   letter */
-                c = upcase(c);
+                   letter.  */
+                c = upcase (c);
             }
         }
 



reply via email to

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