diff options
| author | Richard M. Stallman | 2007-11-29 01:08:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-11-29 01:08:57 +0000 |
| commit | 4bb6c266e4c36335826f4668076ec72af74a3971 (patch) | |
| tree | b9ec6f182c0afc188a95ef31df646e70d60b21c7 /src | |
| parent | e829b12cf2a0325f20cd1439bbb9a4738bcaa7f3 (diff) | |
| download | emacs-4bb6c266e4c36335826f4668076ec72af74a3971.tar.gz emacs-4bb6c266e4c36335826f4668076ec72af74a3971.zip | |
(Fcurrent_local_map): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/keymap.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 97070d1e3c4..c7a7051003d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-11-29 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * keymap.c (Fcurrent_local_map): Doc fix. | ||
| 4 | |||
| 1 | 2007-11-28 Petr Salinger <Petr.Salinger@seznam.cz> (tiny change) | 5 | 2007-11-28 Petr Salinger <Petr.Salinger@seznam.cz> (tiny change) |
| 2 | 6 | ||
| 3 | * s/gnu-kfreebsd.h: New file. | 7 | * s/gnu-kfreebsd.h: New file. |
diff --git a/src/keymap.c b/src/keymap.c index 88b63e40fcc..5cfa8e7e1ce 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -2014,7 +2014,8 @@ If KEYMAP is nil, that means no local keymap. */) | |||
| 2014 | } | 2014 | } |
| 2015 | 2015 | ||
| 2016 | DEFUN ("current-local-map", Fcurrent_local_map, Scurrent_local_map, 0, 0, 0, | 2016 | DEFUN ("current-local-map", Fcurrent_local_map, Scurrent_local_map, 0, 0, 0, |
| 2017 | doc: /* Return current buffer's local keymap, or nil if it has none. */) | 2017 | doc: /* Return current buffer's local keymap, or nil if it has none. |
| 2018 | Normally the local keymap is set by the major mode with `use-local-map'. */) | ||
| 2018 | () | 2019 | () |
| 2019 | { | 2020 | { |
| 2020 | return current_buffer->keymap; | 2021 | return current_buffer->keymap; |