diff options
| author | Richard M. Stallman | 1996-01-30 19:51:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-01-30 19:51:26 +0000 |
| commit | 9fb026ab836daf0a4a97ec027c2b286b9a31bea5 (patch) | |
| tree | 6aeebc5daefb3abc34beaa2eb6922b72861c6578 /src | |
| parent | f040c0ba595076e11c5d36885df8547412d75763 (diff) | |
| download | emacs-9fb026ab836daf0a4a97ec027c2b286b9a31bea5.tar.gz emacs-9fb026ab836daf0a4a97ec027c2b286b9a31bea5.zip | |
(x_frame_parms): Alphabetize.
(enum x_frame_parm): Data type deleted.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 44 |
1 files changed, 12 insertions, 32 deletions
diff --git a/src/xfns.c b/src/xfns.c index 284cdac684e..6b498c3b53f 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -644,27 +644,7 @@ x_destroy_all_bitmaps (dpyinfo) | |||
| 644 | 644 | ||
| 645 | The name of a parameter, as a Lisp symbol, | 645 | The name of a parameter, as a Lisp symbol, |
| 646 | has an `x-frame-parameter' property which is an integer in Lisp | 646 | has an `x-frame-parameter' property which is an integer in Lisp |
| 647 | but can be interpreted as an `enum x_frame_parm' in C. */ | 647 | that is an index in this table. */ |
| 648 | |||
| 649 | enum x_frame_parm | ||
| 650 | { | ||
| 651 | X_PARM_FOREGROUND_COLOR, | ||
| 652 | X_PARM_BACKGROUND_COLOR, | ||
| 653 | X_PARM_MOUSE_COLOR, | ||
| 654 | X_PARM_CURSOR_COLOR, | ||
| 655 | X_PARM_BORDER_COLOR, | ||
| 656 | X_PARM_ICON_TYPE, | ||
| 657 | X_PARM_FONT, | ||
| 658 | X_PARM_BORDER_WIDTH, | ||
| 659 | X_PARM_INTERNAL_BORDER_WIDTH, | ||
| 660 | X_PARM_NAME, | ||
| 661 | X_PARM_AUTORAISE, | ||
| 662 | X_PARM_AUTOLOWER, | ||
| 663 | X_PARM_VERT_SCROLL_BAR, | ||
| 664 | X_PARM_VISIBILITY, | ||
| 665 | X_PARM_MENU_BAR_LINES | ||
| 666 | }; | ||
| 667 | |||
| 668 | 648 | ||
| 669 | struct x_frame_parm_table | 649 | struct x_frame_parm_table |
| 670 | { | 650 | { |
| @@ -694,25 +674,25 @@ void x_set_unsplittable (); | |||
| 694 | 674 | ||
| 695 | static struct x_frame_parm_table x_frame_parms[] = | 675 | static struct x_frame_parm_table x_frame_parms[] = |
| 696 | { | 676 | { |
| 697 | "foreground-color", x_set_foreground_color, | 677 | "auto-raise", x_set_autoraise, |
| 678 | "auto-lower", x_set_autolower, | ||
| 698 | "background-color", x_set_background_color, | 679 | "background-color", x_set_background_color, |
| 699 | "mouse-color", x_set_mouse_color, | ||
| 700 | "cursor-color", x_set_cursor_color, | ||
| 701 | "border-color", x_set_border_color, | 680 | "border-color", x_set_border_color, |
| 681 | "border-width", x_set_border_width, | ||
| 682 | "cursor-color", x_set_cursor_color, | ||
| 702 | "cursor-type", x_set_cursor_type, | 683 | "cursor-type", x_set_cursor_type, |
| 703 | "icon-type", x_set_icon_type, | ||
| 704 | "icon-name", x_set_icon_name, | ||
| 705 | "font", x_set_font, | 684 | "font", x_set_font, |
| 706 | "border-width", x_set_border_width, | 685 | "foreground-color", x_set_foreground_color, |
| 686 | "icon-name", x_set_icon_name, | ||
| 687 | "icon-type", x_set_icon_type, | ||
| 707 | "internal-border-width", x_set_internal_border_width, | 688 | "internal-border-width", x_set_internal_border_width, |
| 708 | "name", x_explicitly_set_name, | ||
| 709 | "auto-raise", x_set_autoraise, | ||
| 710 | "auto-lower", x_set_autolower, | ||
| 711 | "vertical-scroll-bars", x_set_vertical_scroll_bars, | ||
| 712 | "visibility", x_set_visibility, | ||
| 713 | "menu-bar-lines", x_set_menu_bar_lines, | 689 | "menu-bar-lines", x_set_menu_bar_lines, |
| 690 | "mouse-color", x_set_mouse_color, | ||
| 691 | "name", x_explicitly_set_name, | ||
| 714 | "scroll-bar-width", x_set_scroll_bar_width, | 692 | "scroll-bar-width", x_set_scroll_bar_width, |
| 715 | "unsplittable", x_set_unsplittable, | 693 | "unsplittable", x_set_unsplittable, |
| 694 | "vertical-scroll-bars", x_set_vertical_scroll_bars, | ||
| 695 | "visibility", x_set_visibility, | ||
| 716 | }; | 696 | }; |
| 717 | 697 | ||
| 718 | /* Attach the `x-frame-parameter' properties to | 698 | /* Attach the `x-frame-parameter' properties to |