Jason Rumney [Sun, 13 Jun 1999 17:49:12 +0000 (17:49 +0000)]
(clear_cached_bitmap_slots): Remove.
(get_bitmap_with_cache): Check if CreateBitmap failed.
Adjust cache size dynamically so cache is never larger than the
system limit of GDI resources.
Do cache clearing inline. Move global variables to local scope.
Karl Heuer [Sun, 13 Jun 1999 02:37:28 +0000 (02:37 +0000)]
(crisp-mode): (defcustom) Initialize with
custom-initialize-default to avoid infinite loop.
(crisp-mode): (defun) Call transient-mark-mode here, not when
loading the file. Run crisp-mode-hook here, and run
crisp-load-hook when loading the file.
Karl Heuer [Sat, 12 Jun 1999 03:57:37 +0000 (03:57 +0000)]
(write-file): When buffer is not already visiting a file,
don't put buffer name in the minibuffer, just make it the default.
Also handle just directory as arg usefully in that case.
Karl Heuer [Sat, 12 Jun 1999 03:44:31 +0000 (03:44 +0000)]
(cancel_mouse_face): new function. See equiv
changes to xterm.c on 1996-10-31.
(x_set_window_size): use cancel_mouse_face.
(w32_read_socket): use cancel_mouse_face.
Update frame position when size is restored.
Karl Heuer [Sat, 5 Jun 1999 01:13:36 +0000 (01:13 +0000)]
(get_boot_time): Don't look at /proc/uptime; it
doesn't work if the system date is changed, or if the system
is suspended. Look at the last-modified time of
/var/run/random-seed instead.
Karl Heuer [Fri, 4 Jun 1999 18:39:01 +0000 (18:39 +0000)]
Don't print any messages or display
a buffer when loading the library.
(r2b-help): Doc fix.
(r2b-help-message): Update the documentation.
(r2b-load-quietly): Variable deleted.
(r2b-convert-buffer): Doc fix.
Dave Love [Tue, 1 Jun 1999 15:54:31 +0000 (15:54 +0000)]
Add :link to defgroup.
(fortran-blink-matching-if): Match ELSE statements too.
(fortran-fill-statement, fortran-fill): Bind auto-fill-function so
that filling is always done.
Dave Love [Mon, 31 May 1999 14:49:05 +0000 (14:49 +0000)]
Add to minor-mode-map-alist. Remove hook installation
and keymap munging on load.
(msb-mode): New option.
(msb-files-by-directory, msb-sort-by-name, msb-sort-by-directory):
Doc fix.
(msb-mode-map): New variable.
(msb-mode): New command.
Eli Zaretskii [Mon, 31 May 1999 08:34:19 +0000 (08:34 +0000)]
forms-save-buffer): Call set-buffer-modified-p to
force the data buffer to be saved, even if the data didn't
change, in case the write filter was modified. Restore the
current record after read-file-filter finishes.
Kenichi Handa [Tue, 25 May 1999 11:12:17 +0000 (11:12 +0000)]
(smtpmail-send-it): Bind
smtpmail-code-conv-from properly.
(smtpmail-send-data-1): If DATA is a multibyte string, encode it
by smtpmail-code-conv-from.
Andrew Innes [Sat, 22 May 1999 17:38:01 +0000 (17:38 +0000)]
(maybe_generate_resize_event): Detect changes in the
console window size.
(w32_console_read_socket): Call maybe_generate_resize_event
whenever input events are received, since we don't get told when
the window size changes (as opposed to the buffer size, which we
don't care about).
Andrew Innes [Sat, 22 May 1999 17:37:18 +0000 (17:37 +0000)]
(clear_frame): Remember that the window width might
be smaller than the screen buffer width.
(write_glyphs): Remove redundant variable attrs. Use
FillConsoleOutputAttribute instead of WriteConsoleOutputAttribute.
Fix performance bug on hosts with large
/var/adm/wtmp files with no boot records.
(boot_time_initialized): New var.
(init_filelock): Initialize it.
(get_boot_time): Use it, instead of nonzero boot_time,
to test whether boot_time is initialized.
Don't invoke utmp routines when dumping.
(get_boot_time): First, try to get the boot time from the
current utmp file, as this can be much faster. Don't try to
get the boot time from utmp and/or wtmp more than once.
(get_boot_time_1): When passed null pointer, don't invoke utmpname.
New arg LATEST. All uses changed.