aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/keyboard.c2
-rw-r--r--src/lisp.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cf24ee95a05..93dc127acdc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-08-14 Barry OReilly <gundaetiapo@gmail.com> (tiny change)
2
3 * keyboard.c (access_keymap_keyremap): Accept anonymous functions
4 (bug#12022).
5
12012-08-14 Martin Rudalics <rudalics@gmx.at> 62012-08-14 Martin Rudalics <rudalics@gmx.at>
2 7
3 * frame.c (make_frame_without_minibuffer, make_minibuffer_frame) 8 * frame.c (make_frame_without_minibuffer, make_minibuffer_frame)
diff --git a/src/keyboard.c b/src/keyboard.c
index 5ed1f9f2c69..a286e9f3036 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -8836,7 +8836,7 @@ access_keymap_keyremap (Lisp_Object map, Lisp_Object key, Lisp_Object prompt,
8836 /* If the keymap gives a function, not an 8836 /* If the keymap gives a function, not an
8837 array, then call the function with one arg and use 8837 array, then call the function with one arg and use
8838 its value instead. */ 8838 its value instead. */
8839 if (SYMBOLP (next) && !NILP (Ffboundp (next)) && do_funcall) 8839 if (do_funcall && FUNCTIONP (next))
8840 { 8840 {
8841 Lisp_Object tem; 8841 Lisp_Object tem;
8842 tem = next; 8842 tem = next;
diff --git a/src/lisp.h b/src/lisp.h
index 3dbea6e0f72..f6aa46d3f41 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -641,7 +641,7 @@ clip_to_bounds (ptrdiff_t lower, EMACS_INT num, ptrdiff_t upper)
641 641
642typedef struct interval *INTERVAL; 642typedef struct interval *INTERVAL;
643 643
644/* Complain if object is not string or buffer type */ 644/* Complain if object is not string or buffer type. */
645#define CHECK_STRING_OR_BUFFER(x) \ 645#define CHECK_STRING_OR_BUFFER(x) \
646 CHECK_TYPE (STRINGP (x) || BUFFERP (x), Qbuffer_or_string_p, x) 646 CHECK_TYPE (STRINGP (x) || BUFFERP (x), Qbuffer_or_string_p, x)
647 647