diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-09-26 10:37:16 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-09-26 10:37:16 +0300 |
commit | b87c4ff2817e71ca71b028792200b1e069a95e04 (patch) | |
tree | bfe00c0655fa02078a9ab2c633ea06d90c4a2064 /src/termhooks.h | |
parent | bbc108377873aa6ed7cf21c731770103096eea39 (diff) | |
parent | ba355de014b75ed104da4777f909db70d62f2357 (diff) |
Merge from trunk.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r-- | src/termhooks.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 3e4ec1d7e6..9cea0c188e 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -26,11 +26,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "systime.h" /* for Time */ INLINE_HEADER_BEGIN -#ifndef TERMHOOKS_INLINE -# define TERMHOOKS_INLINE INLINE -#endif enum scroll_bar_part { + scroll_bar_nowhere = -1, scroll_bar_above_handle, scroll_bar_handle, scroll_bar_below_handle, @@ -42,11 +40,6 @@ enum scroll_bar_part { scroll_bar_move_ratio }; -/* If the value of the frame parameter changed, whis hook is called. - For example, if going from fullscreen to not fullscreen this hook - may do something OS dependent, like extended window manager hints on X11. */ -extern void (*fullscreen_hook) (struct frame *f); - /* Output method of a terminal (and frames on this terminal, respectively). */ enum output_method @@ -498,7 +491,7 @@ struct terminal windows. */ void (*frame_raise_lower_hook) (struct frame *f, int raise_flag); - /* If the value of the frame parameter changed, whis hook is called. + /* If the value of the frame parameter changed, this hook is called. For example, if going from fullscreen to not fullscreen this hook may do something OS dependent, like extended window manager hints on X11. */ void (*fullscreen_hook) (struct frame *f); @@ -612,12 +605,12 @@ struct terminal /* Most code should use these functions to set Lisp fields in struct terminal. */ -TERMHOOKS_INLINE void +INLINE void tset_charset_list (struct terminal *t, Lisp_Object val) { t->charset_list = val; } -TERMHOOKS_INLINE void +INLINE void tset_selection_alist (struct terminal *t, Lisp_Object val) { t->Vselection_alist = val; |