(display_menu_bar): Fix backwards conditional.
(update_menu_bar, redisplay_window): Don't use FRAME_EXTERNAL_MENU_BAR
in #ifdef, since it is always defined.
(change-log-mode): Remove incorrect "^" anchors from
paragraph-start and -separate.
(change-log-fill-paragraph): Use regular value of paragraph-start
to bound paragraph to be filled, modified values only to do the
filling. Make lines beginning with parentheses
paragraph-starters, but not paragraph-separators.
(lisp-mode-variables, lisp-fill-paragraph): Remove
"^" from paragraph-start and paragraph-separate. Moved
page-delimiter first in case it has a "^" also.
(fill-region-as-paragraph): Since adaptive-fill-regexp
is supposed to match text STARTING at the left margin, use
`looking-at' rather than `re-search-forward'.
(fill-individual-paragraphs): Match fill-prefixes starting at left-margin.
(global-map): Removed bindings of down events to ignore.
(xterm-mouse-translate): Only generate down event when bound.
Cleanup. Support for mode line and vertical bar dragging, and
menu-bar events.
(xterm-mouse-x): New variable.
(xterm-mouse-y): New variable.
(mouse-position): Advice to use above variables.
(xterm-mouse-event): Support menu-bar. Set xterm-mouse-x and xterm-mouse-y.
Karl Heuer [Fri, 10 Nov 1995 18:59:43 +0000 (18:59 +0000)]
(facemenu-active-faces): Replaces function
`facemenu-discard-redundant-faces'. This version, written by
Simon Marshall, is faster and does not require optional
argument for recursive re-entry. New argument FRAME allows
check to be done relative to face definitions in any frame.
(facemenu-unlisted-faces): Remove font-lock faces from
the default list. The list of face names was out of sync; to
prevent this from happenning again I made font-lock.el, and other
packages that create "private" faces, put them on the list
themselves. This should give them a better chance of being
updated when the packages are changed.
Karl Heuer [Fri, 10 Nov 1995 18:56:58 +0000 (18:56 +0000)]
(holiday-face, calendar-today-face, diary-face): Add
faces to facemenu-unlisted-faces before creating so that facemenu
won't list them as faces to be added interactively.
Don't include Xaw/Paned.h unless USE_LUCID is defined.
(set_frame_menubar): Conditionalized some code on USE_LUCID that
depends on the fact that the parent widget of the menu bar is an Xaw
"Paned" widget.
(display_text_line): Get redisplay_end_trigger from window.
(display_string): Detect truncation more carefully.
(redisplay_window): On non-X frame, always use
FRAME_MENU_BAR_LINES as criterion for whether to display menu bar.
(update_menu_bar): Likewise.
(display_menu_bar): Do the work here for non-X frames
regardless of USE_X_TOOLKIT.
Include lisp.h.
(doprnt1): Renamed from doprnt. New arg LISPSTRINGS.
This is now a static subroutine.
(doprnt): New definition calls doprnt1.
(doprnt_lisp): New function.
(makefile-mode): Call makefile-define-space-face only if it is defined.
(makefile-define-space-face): Create the face unconditionally;
alter it only if have X.
Geoff Voelker [Tue, 7 Nov 1995 07:58:00 +0000 (07:58 +0000)]
(env_vars): New variable.
(add_registry): New procedure.
(main): Use values of configuration environment variables from
the registry if defined, the process environment otherwise.
Geoff Voelker [Tue, 7 Nov 1995 07:56:36 +0000 (07:56 +0000)]
(addpm.exe): Link with $(ADVAPI32).
(install, fast_install): Change same-dir test to create test file in
installation tree and thereby support read-only shares.
(clean): Remove .pdb files.
Geoff Voelker [Tue, 7 Nov 1995 07:35:06 +0000 (07:35 +0000)]
(nt_ring_bell): Renamed from ring_bell, now global.
(initialize_win_nt_display): Use nt_ring_bell.
[HAVE_NTGUI] (pixel_to_glyph_coords, glyph_to_pixel_coords): Don't define.
Geoff Voelker [Tue, 7 Nov 1995 07:28:29 +0000 (07:28 +0000)]
[HAVE_NTGUI] (set_menu_framebar): Declare external.
[HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables
for Win32 window system.
[HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include
procedures for Win32 window system.
[HAVE_NTGUI] (x_consider_frame_title): Test for Win32 frame.
[HAVE_NTGUI] (display_text_line): Test for Win32 frame on face change.
[HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system.
(update_menu_bar, redisplay_window): Test for definition
of FRAME_EXTERNAL_MENU_BAR before using it.
Use FRAME_WINDOW_P of FRAME_EXTERNAL_MENU_BAR before using it.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.