diff options
| author | Stefan Monnier | 2011-08-03 17:40:06 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-08-03 17:40:06 -0400 |
| commit | 640c8776f65beda19e4d4221b1cc2fe7a4b503d0 (patch) | |
| tree | 63db8386b0bb79328e9f4dce9a7efab2373847e4 /src/keymap.c | |
| parent | 8a10d76c8770781641cc742beb6a2ba653c99e00 (diff) | |
| download | emacs-640c8776f65beda19e4d4221b1cc2fe7a4b503d0.tar.gz emacs-640c8776f65beda19e4d4221b1cc2fe7a4b503d0.zip | |
* src/keymap.c (Fmake_composed_keymap): Move to subr.el.
* lisp/subr.el (make-composed-keymap): Move from C. Change calling
convention, and improve docstring to bring attention to a subtle point.
* lisp/minibuffer.el (completing-read-default): Adjust accordingly.
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/keymap.c b/src/keymap.c index c461fdddbbc..3b0edbf4fb3 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -150,17 +150,6 @@ in case you use it as a menu with `x-popup-menu'. */) | |||
| 150 | return Fcons (Qkeymap, Qnil); | 150 | return Fcons (Qkeymap, Qnil); |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | DEFUN ("make-composed-keymap", Fmake_composed_keymap, Smake_composed_keymap, | ||
| 154 | 0, MANY, 0, | ||
| 155 | doc: /* Construct and return a new keymap composed of KEYMAPS. | ||
| 156 | When looking up a key in the returned map, the key is looked in each | ||
| 157 | keymap in turn until a binding is found. | ||
| 158 | usage: (make-composed-keymap &rest KEYMAPS) */) | ||
| 159 | (ptrdiff_t nargs, Lisp_Object *args) | ||
| 160 | { | ||
| 161 | return Fcons (Qkeymap, Flist (nargs, args)); | ||
| 162 | } | ||
| 163 | |||
| 164 | /* This function is used for installing the standard key bindings | 153 | /* This function is used for installing the standard key bindings |
| 165 | at initialization time. | 154 | at initialization time. |
| 166 | 155 | ||
| @@ -3761,7 +3750,6 @@ be preferred. */); | |||
| 3761 | defsubr (&Sset_keymap_parent); | 3750 | defsubr (&Sset_keymap_parent); |
| 3762 | defsubr (&Smake_keymap); | 3751 | defsubr (&Smake_keymap); |
| 3763 | defsubr (&Smake_sparse_keymap); | 3752 | defsubr (&Smake_sparse_keymap); |
| 3764 | defsubr (&Smake_composed_keymap); | ||
| 3765 | defsubr (&Smap_keymap_internal); | 3753 | defsubr (&Smap_keymap_internal); |
| 3766 | defsubr (&Smap_keymap); | 3754 | defsubr (&Smap_keymap); |
| 3767 | defsubr (&Scopy_keymap); | 3755 | defsubr (&Scopy_keymap); |