diff options
| author | Andreas Schwab | 2007-11-29 11:49:23 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2007-11-29 11:49:23 +0000 |
| commit | 4b7ab1c4bca3c9b22d73828e38b0b810ec5885d0 (patch) | |
| tree | edc165bb1d8e1c70f67ea54116ed46813b0399f5 /src | |
| parent | 1b27574370124043691a26a86a555a256dae49e0 (diff) | |
| download | emacs-4b7ab1c4bca3c9b22d73828e38b0b810ec5885d0.tar.gz emacs-4b7ab1c4bca3c9b22d73828e38b0b810ec5885d0.zip | |
(apply_modifiers): Fix typo.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/keyboard.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c7a7051003d..e4d37ade79e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-11-29 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * keyboard.c (apply_modifiers): Fix typo. | ||
| 4 | |||
| 1 | 2007-11-29 Richard Stallman <rms@gnu.org> | 5 | 2007-11-29 Richard Stallman <rms@gnu.org> |
| 2 | 6 | ||
| 3 | * keymap.c (Fcurrent_local_map): Doc fix. | 7 | * keymap.c (Fcurrent_local_map): Doc fix. |
diff --git a/src/keyboard.c b/src/keyboard.c index 3a52afc0cd0..4a86ec2a305 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -6588,7 +6588,7 @@ apply_modifiers (modifiers, base) | |||
| 6588 | modifiers &= INTMASK; | 6588 | modifiers &= INTMASK; |
| 6589 | 6589 | ||
| 6590 | if (INTEGERP (base)) | 6590 | if (INTEGERP (base)) |
| 6591 | return make_number (XINT (base) & modifiers); | 6591 | return make_number (XINT (base) | modifiers); |
| 6592 | 6592 | ||
| 6593 | /* The click modifier never figures into cache indices. */ | 6593 | /* The click modifier never figures into cache indices. */ |
| 6594 | cache = Fget (base, Qmodifier_cache); | 6594 | cache = Fget (base, Qmodifier_cache); |