Mercurial > emacs
annotate lwlib/lwlib-utils.h @ 109021:35894ae393bb
Fix revert-buffer functionality of Help mode and Info.
* lisp/help-mode.el (help-mode): Set buffer-local variable
revert-buffer-function to help-mode-revert-buffer.
(help-mode-revert-buffer): New function.
* lisp/info.el (Info-revert-find-node): Check for major-mode Info-mode
before popping to "*info*" (like in other Info functions).
Keep buffer-name in old-buffer-name. Keep Info-history-forward in
old-history-forward. Pop to old-buffer-name or "*info*" to
recreate the killed buffer. Set Info-history-forward from
old-history-forward.
(Info-breadcrumbs-depth): Add :group and :version.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 17 Jun 2010 23:56:17 +0300 |
parents | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
rev | line source |
---|---|
5626 | 1 #ifndef _LWLIB_UTILS_H_ |
2 #define _LWLIB_UTILS_H_ | |
3 | |
29466 | 4 void XtNoClearRefreshWidget __P ((Widget)); |
5626 | 5 |
29466 | 6 typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer)); |
7 typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer)); | |
5626 | 8 |
29466 | 9 void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer)); |
10 void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer)); | |
5626 | 11 |
29466 | 12 Widget *XtCompositeChildren __P ((Widget, unsigned int *)); |
5626 | 13 |
14 /* returns True is the widget is being destroyed, False otherwise */ | |
15 Boolean | |
29466 | 16 XtWidgetBeingDestroyedP __P ((Widget widget)); |
5626 | 17 |
29466 | 18 void XtSafelyDestroyWidget __P ((Widget)); |
5626 | 19 |
20 #endif /* _LWLIB_UTILS_H_ */ | |
52401 | 21 |
22 /* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809 | |
23 (do not change this comment) */ |