changeset 104925:54e4fb84ea5d

(get_keymap): Return the actual keymap symbol rather than t for autoloaded keymaps when autoloading is not allowed (bug#4393).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 11 Sep 2009 02:14:05 +0000
parents 301d9a019c4f
children 71f778b32ef5
files src/ChangeLog src/keymap.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Sep 11 01:11:37 2009 +0000
+++ b/src/ChangeLog	Fri Sep 11 02:14:05 2009 +0000
@@ -1,5 +1,8 @@
 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* keymap.c (get_keymap): Return the actual keymap symbol rather than
+	t for autoloaded keymaps when autoloading is not allowed (bug#4393).
+
 	* keymap.c (QCadvertised_binding): New constant.
 	(syms_of_keymap): Initialize it.
 	(Fwhere_is_internal): Try and use bindings from :advertised-binding
--- a/src/keymap.c	Fri Sep 11 01:11:37 2009 +0000
+++ b/src/keymap.c	Fri Sep 11 02:14:05 2009 +0000
@@ -292,7 +292,7 @@
 		  goto autoload_retry;
 		}
 	      else
-	      	return Qt;
+	      	return object;
 	    }
 	}
     }