Mercurial > emacs
view lwlib/lwlib-Xaw.h @ 107852:4abde609aac9
Add variable `scroll-preserve-screen-position-commands'.
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
* window.c (Vscroll_preserve_screen_position_commands): New variable
with the default value as the list of Qscroll_down and Qscroll_up.
(window_scroll_pixel_based, window_scroll_line_based): Search the
last command in the list Vscroll_preserve_screen_position_commands
instead of comparing with Qscroll_up and Qscroll_down.
* mwheel.el (scroll-preserve-screen-position-commands):
Add mwheel-scroll to this list of commands.
* simple.el (scroll-preserve-screen-position-commands):
Add scroll-up-command, scroll-down-command, scroll-up-line,
scroll-down-line to this list of commands.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Wed, 14 Apr 2010 03:11:21 +0300 |
parents | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
line wrap: on
line source
#ifndef LWLIB_XAW_H #define LWLIB_XAW_H #include "lwlib-int.h" extern widget_creation_entry xaw_creation_table []; Widget xaw_create_dialog __P ((widget_instance*)); Boolean lw_xaw_widget_p __P ((Widget)); void xaw_update_one_widget __P ((widget_instance *, Widget, widget_value *, Boolean)); void xaw_update_one_value __P ((widget_instance *, Widget, widget_value *)); void xaw_destroy_instance __P ((widget_instance *)); void xaw_popup_menu __P ((Widget, XEvent *)); void xaw_pop_instance __P ((widget_instance *, Boolean)); #endif /* LWLIB_XAW_H */ /* arch-tag: 7c0fb4de-afd9-4112-9214-24b663cc1870 (do not change this comment) */