aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-10-15 17:21:49 +0300
committerEli Zaretskii2016-10-15 17:21:49 +0300
commitf68b463d1b05c7cd45b66a5cb0977c21016f5ea5 (patch)
treecf8debc55528c85f2f4bb3fdbe4ae55a596d074e
parenta38096f8e2978a14f3bc8fa0dc3e0c9d0f753c3c (diff)
downloademacs-f68b463d1b05c7cd45b66a5cb0977c21016f5ea5.tar.gz
emacs-f68b463d1b05c7cd45b66a5cb0977c21016f5ea5.zip
; * src/keyboard.c (make_lispy_event): Fix code formatting in last change.
-rw-r--r--src/keyboard.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 87a68511052..bb411e77823 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5422,26 +5422,26 @@ make_lispy_event (struct input_event *event)
5422 /* Caps-lock shouldn't affect interpretation of key chords: 5422 /* Caps-lock shouldn't affect interpretation of key chords:
5423 Control+s should produce C-s whether caps-lock is on or 5423 Control+s should produce C-s whether caps-lock is on or
5424 not. And Control+Shift+s should produce C-S-s whether 5424 not. And Control+Shift+s should produce C-S-s whether
5425 caps-lock is on or not. */ 5425 caps-lock is on or not. */
5426 if (event->modifiers & ~shift_modifier) 5426 if (event->modifiers & ~shift_modifier)
5427 { 5427 {
5428 /* this is a key chord: some non-shift modifier is 5428 /* This is a key chord: some non-shift modifier is
5429 depressed */ 5429 depressed. */
5430 5430
5431 if (uppercasep (c) && 5431 if (uppercasep (c) &&
5432 !(event->modifiers & shift_modifier)) 5432 !(event->modifiers & shift_modifier))
5433 { 5433 {
5434 /* Got a capital letter without a shift. The caps 5434 /* Got a capital letter without a shift. The caps
5435 lock is on. Un-capitalize the letter */ 5435 lock is on. Un-capitalize the letter. */
5436 c = downcase(c); 5436 c = downcase (c);
5437 } 5437 }
5438 else if (lowercasep (c) && 5438 else if (lowercasep (c) &&
5439 (event->modifiers & shift_modifier)) 5439 (event->modifiers & shift_modifier))
5440 { 5440 {
5441 /* Got a lower-case letter even though shift is 5441 /* Got a lower-case letter even though shift is
5442 depressed. The caps lock is on. Capitalize the 5442 depressed. The caps lock is on. Capitalize the
5443 letter */ 5443 letter. */
5444 c = upcase(c); 5444 c = upcase (c);
5445 } 5445 }
5446 } 5446 }
5447 5447