Mercurial > emacs
comparison src/intervals.c @ 16124:f38128a8bb2b
(get_local_map): Call indirect-function.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 Sep 1996 15:40:46 +0000 |
parents | 4b672131c37f |
children | 82898b671633 |
comparison
equal
deleted
inserted
replaced
16123:ec5f48fe0320 | 16124:f38128a8bb2b |
---|---|
1787 | 1787 |
1788 BUF_BEGV (buffer) = old_begv; | 1788 BUF_BEGV (buffer) = old_begv; |
1789 BUF_ZV (buffer) = old_zv; | 1789 BUF_ZV (buffer) = old_zv; |
1790 | 1790 |
1791 /* Use the local map only if it is valid. */ | 1791 /* Use the local map only if it is valid. */ |
1792 /* Do allow symbols that are defined as keymaps. */ | |
1793 if (SYMBOLP (prop) && !NILP (prop)) | |
1794 prop = Findirect_function (prop); | |
1792 if (!NILP (prop) | 1795 if (!NILP (prop) |
1793 && (tem = Fkeymapp (prop), !NILP (tem))) | 1796 && (tem = Fkeymapp (prop), !NILP (tem))) |
1794 return prop; | 1797 return prop; |
1795 | 1798 |
1796 return buffer->keymap; | 1799 return buffer->keymap; |