diff options
| author | Stefan Monnier | 2004-09-19 06:07:38 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-09-19 06:07:38 +0000 |
| commit | a8a64811dc35200e4378d2ab3b7cc947da75fce5 (patch) | |
| tree | 2fb9dc10f295f2e87962f233df12f1c389ebc5e9 | |
| parent | 7147c177a56a4fe1d8ffbcb39e4fbb0920289552 (diff) | |
| download | emacs-a8a64811dc35200e4378d2ab3b7cc947da75fce5.tar.gz emacs-a8a64811dc35200e4378d2ab3b7cc947da75fce5.zip | |
(event-basic-type): Fix mask (extend to 22bits).
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 34418fde798..95cd807ebcc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-09-19 Stefan <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * subr.el (event-basic-type): Fix mask (extend to 22bits). | ||
| 4 | |||
| 1 | 2004-09-18 Luc Teirlinck <teirllm@auburn.edu> | 5 | 2004-09-18 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 6 | ||
| 3 | * textmodes/enriched.el (enriched-rerun-flag): New variable. | 7 | * textmodes/enriched.el (enriched-rerun-flag): New variable. |
diff --git a/lisp/subr.el b/lisp/subr.el index 327d6386fcb..d7bfcc1f7fe 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; subr.el --- basic lisp subroutines for Emacs | 1 | ;;; subr.el --- basic lisp subroutines for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 86, 92, 94, 95, 99, 2000, 2001, 2002, 03, 2004 | 3 | ;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1999, 2000, 2001, 2002, 2003, |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; 2004 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| 7 | ;; Keywords: internal | 7 | ;; Keywords: internal |
| @@ -683,7 +683,7 @@ in the current Emacs session, then this function may return nil." | |||
| 683 | (setq event (car event))) | 683 | (setq event (car event))) |
| 684 | (if (symbolp event) | 684 | (if (symbolp event) |
| 685 | (car (get event 'event-symbol-elements)) | 685 | (car (get event 'event-symbol-elements)) |
| 686 | (let ((base (logand event (1- (lsh 1 18))))) | 686 | (let ((base (logand event (1- ?\A-\^@)))) |
| 687 | (downcase (if (< base 32) (logior base 64) base))))) | 687 | (downcase (if (< base 32) (logior base 64) base))))) |
| 688 | 688 | ||
| 689 | (defsubst mouse-movement-p (object) | 689 | (defsubst mouse-movement-p (object) |
| @@ -2649,5 +2649,5 @@ The properties used on SYMBOL are `composefunc', `sendfunc', | |||
| 2649 | (put symbol 'abortfunc (or abortfunc 'kill-buffer)) | 2649 | (put symbol 'abortfunc (or abortfunc 'kill-buffer)) |
| 2650 | (put symbol 'hookvar (or hookvar 'mail-send-hook))) | 2650 | (put symbol 'hookvar (or hookvar 'mail-send-hook))) |
| 2651 | 2651 | ||
| 2652 | ;;; arch-tag: f7e0e6e5-70aa-4897-ae72-7a3511ec40bc | 2652 | ;; arch-tag: f7e0e6e5-70aa-4897-ae72-7a3511ec40bc |
| 2653 | ;;; subr.el ends here | 2653 | ;;; subr.el ends here |