diff options
| author | Miles Bader | 2006-10-15 02:54:13 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-10-15 02:54:13 +0000 |
| commit | bb9c4b4f8b3dcd1b5fc96d2d0275cc532832fbd6 (patch) | |
| tree | 8c4ae9640abcb8f33326e96e661f711417e5307c /src/keymap.c | |
| parent | 5be4d5336db8be316100a5b80ee8c5e428438b9e (diff) | |
| parent | 92edaeeda5c362acf2c7e7f72b3666ab7673699a (diff) | |
| download | emacs-bb9c4b4f8b3dcd1b5fc96d2d0275cc532832fbd6.tar.gz emacs-bb9c4b4f8b3dcd1b5fc96d2d0275cc532832fbd6.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 460-475)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 145-152)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-118
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/keymap.c b/src/keymap.c index 237bc0db9df..f67cc109e87 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1643,13 +1643,12 @@ specified buffer position instead of point are used. | |||
| 1643 | 1643 | ||
| 1644 | /* We are not interested in locations without event data */ | 1644 | /* We are not interested in locations without event data */ |
| 1645 | 1645 | ||
| 1646 | if (EVENT_HAS_PARAMETERS (event)) { | 1646 | if (EVENT_HAS_PARAMETERS (event)) |
| 1647 | Lisp_Object kind; | 1647 | { |
| 1648 | 1648 | Lisp_Object kind = EVENT_HEAD_KIND (EVENT_HEAD (event)); | |
| 1649 | kind = EVENT_HEAD_KIND (EVENT_HEAD (event)); | 1649 | if (CONSP (XCDR (event)) && EQ (kind, Qmouse_click)) |
| 1650 | if (EQ (kind, Qmouse_click)) | 1650 | position = EVENT_START (event); |
| 1651 | position = EVENT_START (event); | 1651 | } |
| 1652 | } | ||
| 1653 | } | 1652 | } |
| 1654 | 1653 | ||
| 1655 | /* Key sequences beginning with mouse clicks | 1654 | /* Key sequences beginning with mouse clicks |
| @@ -1742,7 +1741,8 @@ specified buffer position instead of point are used. | |||
| 1742 | 1741 | ||
| 1743 | pos = XCDR (string); | 1742 | pos = XCDR (string); |
| 1744 | string = XCAR (string); | 1743 | string = XCAR (string); |
| 1745 | if (XINT (pos) >= 0 | 1744 | if (INTEGERP (pos) |
| 1745 | && XINT (pos) >= 0 | ||
| 1746 | && XINT (pos) < SCHARS (string)) | 1746 | && XINT (pos) < SCHARS (string)) |
| 1747 | { | 1747 | { |
| 1748 | map = Fget_text_property (pos, Qlocal_map, string); | 1748 | map = Fget_text_property (pos, Qlocal_map, string); |