Don't use cl. Eliminate use of when, unless,
dotimes, plusp, minusp, pusnhew, second.
(completion-dolist): New macro. Use instead of dolist.
(completion-gensym-counter, completion-gensym): New variable and fn.
(locate-completion-entry-retry): Bind cmpl-entry, then use it.
(locate-completion-entry): Use completion-string, not string.
(add-completion-to-head, delete-completion):
Rename arg to completion-string.
(completions-list-return-value): Defvar'd and renamed
from return-completions.
(cmpl-preceding-syntax, cdabbrev-stop-point): Add defvars.
(delete-completion, check-completion-length): Fix message format.
(complete, add-completions-from-buffer, add-completions-from-c-buffer)
(save-completions-to-file): Likewise.
Karl Heuer [Wed, 1 Feb 1995 22:18:21 +0000 (22:18 +0000)]
(cmd_error): Clear prefix arg here.
(command_loop_1): Not here.
(command_loop_1): Save original perdisplay in case we're already locked to a
particular display.
Move display-specific cleanup to end of main loop.
Use perdisplay to access prefix arg.
(Fcommand_execute, Fexecute_extended_command): Use perdisplay.
Karl Heuer [Wed, 1 Feb 1995 02:35:54 +0000 (02:35 +0000)]
(Fcall_interactively): Use perdisplay.
(Vprefix_arg, Vcurrent_prefix_arg): Delete vars; now in perdisplay.
(syms_of_callint): Use DEFVAR_DISPLAY for prefix-arg and current-prefix-arg.
Karl Heuer [Tue, 31 Jan 1995 01:53:55 +0000 (01:53 +0000)]
[MULTI_PERDISPLAY] (get_perdisplay): Define this as a macro, for sources that
include this header.
[MULTI_PERDISPLAY] (get_perdisplay_macro): Internal macro version.
Karl Heuer [Mon, 30 Jan 1995 22:39:20 +0000 (22:39 +0000)]
(x-create-frame-with-faces): Assume cursor-color, mouse-color, and
border-color are okay as specified unless they are the same as the new
background color.
(lisp-indent-region): Set endmark before indenting first line.
(indent-sexp): Fixes for ENDPOS != nil case--use nil
as starting-point, and don't insist on a complete sexp.
(list-buffers-noselect): New subroutine.
(list-buffers): Use that.
(buffer-menu): Switch to the buffer in the same window.
(buffer-menu-other-window): New command.
(Buffer-menu-select): Just change the current window.
Karl Heuer [Sat, 28 Jan 1995 03:39:17 +0000 (03:39 +0000)]
(enum Lisp_Misc_Type): New enumeration Lisp_Misc_Display_Local.
(struct Lisp_Display_Objfwd): New structure.
(XDISPLAY_OBJFWD, DISPLAY_OBJFWDP): Access the new structure.
(union Lisp_Misc): Add new member.
(tex-display-shell): Pass nil as arg to
tex-recenter-output-buffer.
(tex-region, tex-file, tex-show-print-queue, tex-bibtex-file):
Put the call to tex-display-shell essentially last.
Karl Heuer [Fri, 27 Jan 1995 19:27:07 +0000 (19:27 +0000)]
(message_log_need_newline): This var is now static.
(message_dolog): Set message_log_need_newline appropriately.
Don't change it at all if message logging is currently disabled.
(message_log_maybe_newline): New function.
(message2): Use message_log_maybe_newline.
(mouse-save-then-kill): When we don't use existing
region, put where click and put mark at the other end. Use
point-before-scroll if non-nil. Recognize mouse-set-region
as a previous command that makes a region we should use.
(mouse-drag-region): When we run the final click's binding,
set this-command.
Karl Heuer [Wed, 25 Jan 1995 08:58:33 +0000 (08:58 +0000)]
(the_only_perd): Define this var here.
(kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Delete; now part of perd.
(find_active_event_queue): New function.
(readable_events, kbd_buffer_get_event, swallow_events): Use it.
(kbd_buffer_store_event): Store in EVENT's frame's queue.
(Fdiscard_input, stuff_buffered_input): Use perd.
(init_keyboard): Initialize the new vars.
kbd_buffer is now a pointer, not an array.
Added support for descriptions in the group buffer:
(gnus-group-prepare, gnus-group-prepare-line, gnus-setup-news)
(gnus-gnus-to-quick-newsrc-format, gnus-group-list-groups):
Record if we show all groups, to redisplay
correctly after toggling descriptions display.
(gnus-newsgroups-display-toggle, gnus-newsgroups-update-description)
(gnus-newsgroups-retrieve-description): New functions.
(gnus-group-mode-map): Bind t to gnus-newsgroups-display-toggle.
Add a newsgroups-update-description menu.
(gnus-newsgroups-regex, gnus-newsgroups-display, gnus-newsgroups-alist)
(gnus-newsgroups-hashtb, gnus-newsgroups-showall): New variables.
(gnus-group-group-name): Changed the regexp to avoid conflict
with descriptions which have a ':' inside.
(gnus-group-mode): Doc fix.