Mercurial > emacs
view lwlib/lwlib-utils.h @ 109957:083f3bd6ac6e
Move reading an extended command to Elisp (bug#5364, bug#5214).
* lisp/simple.el (read-extended-command): New function with the logic
for `completing-read' moved to Elisp from `execute-extended-command'.
Use `function-called-at-point' in `minibuffer-default-add-function'
to get a command name for M-n (bug#5364, bug#5214).
* src/keyboard.c (Fexecute_extended_command): Move reading a command name
with `completing-read' to a new Elisp function `read-extended-command'.
Call it to read a command to `function' (bug#5364, bug#5214).
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Mon, 23 Aug 2010 00:27:59 +0100 |
parents | e16f43875a48 |
children | ef719132ddfa |
line wrap: on
line source
#ifndef _LWLIB_UTILS_H_ #define _LWLIB_UTILS_H_ void XtNoClearRefreshWidget (Widget); typedef void (*XtApplyToWidgetsProc) (Widget, XtPointer); typedef void* (*XtApplyUntilToWidgetsProc) (Widget, XtPointer); void XtApplyToWidgets (Widget, XtApplyToWidgetsProc, XtPointer); void *XtApplyUntilToWidgets (Widget, XtApplyUntilToWidgetsProc, XtPointer); Widget *XtCompositeChildren (Widget, unsigned int *); /* returns True is the widget is being destroyed, False otherwise */ Boolean XtWidgetBeingDestroyedP (Widget widget); void XtSafelyDestroyWidget (Widget); #endif /* _LWLIB_UTILS_H_ */ /* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809 (do not change this comment) */