aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fexpand_file_name): Undo last change--too risky for now.Richard M. Stallman1993-04-291-1/+4
|
* (Fdefine_function): New function (same code as Fdefalias).Richard M. Stallman1993-04-291-0/+18
|
* (LOADHIST_ATTACH): New macro.Richard M. Stallman1993-04-291-0/+5
| | | | (Vcurrent_load_list, Vload_history): Vars declared.
* (do_autoload): Fixed the bug in the autoload-saving code.Eric S. Raymond1993-04-281-3/+6
|
* (un_autoload): Don't try to save old autoload forms when we load somethingEric S. Raymond1993-04-271-0/+2
| | | | | | in. Something about the code now conditioned out by UNLOAD was screwing up ordinary autoloads, notably of picture.el. When I figure out what, I'll fix and re-enable this code.
* (Fexpand_file_name): Don't remove trailing / from NEWDIR if just "/".Roland McGrath1993-04-261-2/+2
|
* (read_pending_input): Fix the garbaged-modifiers bug under System Vs previousEric S. Raymond1993-04-261-0/+1
| | | | to r4.
* (Fset-window-buffer): Set horizontal-scrolling on a window to zero whenEric S. Raymond1993-04-251-0/+1
| | | | we connect it to a new buffer.
* (Qmode-line-format): Describe %l in the doc string.Eric S. Raymond1993-04-251-1/+1
|
* (Fdefine_function): Changed name back to Fdefalias, so we get thingsEric S. Raymond1993-04-231-2/+2
| | | | in a known-good state.
* (BUF_NARROWED, NARROWED): New macros to test whether a regionEric S. Raymond1993-04-231-0/+7
| | | | restriction has narrowed the buffer.
* Comment fixes.Richard M. Stallman1993-04-171-3/+3
|
* (Fdefine_function): New function.Richard M. Stallman1993-04-171-0/+16
|
* (defun, defmacro, defvar, defconst):Richard M. Stallman1993-04-171-1/+18
| | | | | Attach symbol argument to the list of globals for the input source. (do_autoload): Save the old autoloads, in case we ever unload.
* (provide, require): Put appropriately-markedRichard M. Stallman1993-04-171-1/+7
| | | | conses in the current-globals list.
* (readevalloop): New argument is the source file name (or nil if none).Richard M. Stallman1993-04-171-8/+113
| | | | | | | | | All calls changed. Do the two-step necessary to call build_load_history with the correct current-globals list for the current recursion. (build_load_history): New function. (eval_region, eval_buffer): Call readevalloop with new arg. (load_history): New variable.
* Don't include Xmu/Drawing.h.Richard M. Stallman1993-04-151-1/+1
|
* (message, message1): If noninteractive andRichard M. Stallman1993-04-131-2/+6
| | | | cursor_in_echo_area, don't print a newline at end of message.
* (Fy_or_n_p): Echo the answer just once, at exit.Richard M. Stallman1993-04-131-7/+7
|
* * Makefile.in (xmakefile): Recognize the -O option with a numericJim Blandy1993-04-101-1/+1
| | | | | | | optimization level. * ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or higher, use -O99 instead of plain -O.
* long_to_cons and cons_to_long are generally useful things; they'reJim Blandy1993-04-103-30/+31
| | | | | | | needed whether or not X is defined. * xselect.c (long_to_cons, cons_to_long): Moved from here... * data.c (long_to_cons, cons_to_long): ... to here. * lisp.h (long_to_cons, cons_to_long): Add extern declaration.
* Since Qmenu_enable is used by non-X-specific code, it shouldn't beJim Blandy1993-04-101-4/+1
| | | | | | | | defined in an X-only source file. * xmenu.c (Qmenu_enable): Definition moved... (syms_of_xmenu): ... along with initialization ... * keyboard.c (Qmenu_enable): ... to here ... (syms_of_keyboard): ... and here.
* * xfaces.c (sort_overlays): Define this to be static, as declared.Jim Blandy1993-04-101-1/+1
|
* * keyboard.c (command_loop_1): Rebuild menu bar ifJim Blandy1993-04-101-2/+27
| | | | | | | | | | | | | | | | | | | | update_mode_lines is set. Since Qmenu_enable is used by non-X-specific code, it shouldn't be defined in an X-only source file. * xmenu.c (Qmenu_enable): Definition moved... (syms_of_xmenu): ... along with initialization ... * keyboard.c (Qmenu_enable): ... to here ... (syms_of_keyboard): ... and here. * keyboard.c (kbd_buffer_get_event): If we get a selection clear or selection request event, but we were compiled without the window-system-specific code to handle it, abort. Don't try to call a function which doesn't exist. * keyboard.c (make_lispy_event): In the code which processes mouse clicks, declare f to be a FRAME_PTR, not a struct frame *; this works when MULTI_FRAME is not #defined.
* * dispnew.c (getenv): Extern declaration deleted; this is done inJim Blandy1993-04-101-4/+2
| | | | | | | | config.h. * dispnew.c (init_display): Compare the return value of getenv to zero before setting display_arg, instead of just using the pointer as a truth value.
* Adjust for autoconf merger.Jim Blandy1993-04-101-40/+46
| | | | | | | | | | | | | | | * config.h.in: Add extra line to top, in case autoconf gets fixed and decides not to add Makefile-style comments to the top of the files it generates which we are forced to lop off. Indicate that the boolean macros here get their definitions via the DEFS Makefile variable. Adjust the operating system and machine #includes to use autoload's @cookies@. (RETSIGTYPE): Give this a default value. (SIGTYPE): Set this from RETSIGTYPE. (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@. * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS. (xmakefile): Pass CFLAGS to ${CPP}.
* * callproc.c (relocate_fd): Make messages string literals, notJim Blandy1993-04-101-5/+4
| | | | initialized arrays.
* * buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFERJim Blandy1993-04-101-51/+84
| | | | | | | | | | | arguments. (recenter_overlay_lists): New argument BUF, to use instead of the current buffer. (Foverlay_recenter): Pass the appropriate arguments to recenter_overlay_lists. * buffer.c (Fdelete_overlay): Don't assume that overlay is in the current buffer. Don't forget to declare the argument a Lisp_Object.
* * alloc.c (__malloc_hook, __realloc_hook, __free_hook): DeclareJim Blandy1993-04-101-10/+13
| | | | | | | | these extern, not static. (!) * alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook, old_realloc_hook): Declare that the functions these point to return void *, not void.
* Adjust for autoconf merger.Jim Blandy1993-04-101-5/+4
| | | | | | | | | | | | | | | | | | | * config.h.in: Add extra line to top, in case autoconf gets fixed and decides not to add Makefile-style comments to the top of the files it generates which we are forced to lop off. Indicate that the boolean macros here get their definitions via the DEFS Makefile variable. Adjust the operating system and machine #includes to use autoload's @cookies@. (RETSIGTYPE): Give this a default value. (SIGTYPE): Set this from RETSIGTYPE. (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@. * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS. (xmakefile): Pass CFLAGS to ${CPP}. * Makefile.in (tagsfiles): Remove external-lisp from this list of files; we're not distributing it, so the normal build process shouldn't depend on it.
* * keyboard.c (echo_dash): Do nothing if echoptr is 0.Jim Blandy1993-04-101-0/+3
|
* (Fkill_all_local_variables): Store each var's current valueRichard M. Stallman1993-04-081-0/+8
| | | | in the buffer's alist entry, before reverting to the default value.
* * keyboard.c (apply_modifiers): Fix typo in sanity check.Jim Blandy1993-04-081-1/+1
|
* * keyboard.c (interrupt_input_blocked, interrupt_input_pending):Jim Blandy1993-04-071-2/+2
| | | | Remove `extern' keywords - these are the definitions.
* Include blockinput.h.Richard M. Stallman1993-04-072-0/+2
|
* (interrupt_input_blocked): Make this signed int.Richard M. Stallman1993-04-071-1/+1
|
* (UNBLOCK_INPUT): Fix typo.Richard M. Stallman1993-04-071-1/+1
|
* (search_buffer): Fix typo in previous change.Richard M. Stallman1993-04-071-7/+9
|
* Fix typo in comment delimiter.Richard M. Stallman1993-04-071-1/+1
|
* * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK insteadJim Blandy1993-04-073-2/+13
| | | | | | | of defining LINKER to use cc. * s/aix3-1.h (LINKER): Don't use cc for linking command if we're using GCC. * s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
* * xterm.c (updating_frame): Declare this extern instead of static,Jim Blandy1993-04-071-6/+3
| | | | | | so it's the same variable as the updating_frame in term.c. (XTupdate_begin, XTupdate_end): Don't bother to set updating_frame; the term.c functions take care of that for us.
* *** empty log message ***Jim Blandy1993-04-061-2/+17
|
* * editfns.c (Fcurrent_time_zone): Return a list whose elements areJim Blandy1993-04-051-3/+6
| | | | | nil if the time zone information is unavailable, instead of signalling an error.
* * s/vms.h (EXEC_SUFFIXES): Add definition for this.Jim Blandy1993-04-051-0/+2
|
* *** empty log message ***Jim Blandy1993-04-022-3/+3
|
* *** empty log message ***Jim Blandy1993-04-021-0/+16
|
* Put interrupt input blocking in a separate file from xterm.h.Jim Blandy1993-03-3123-133/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't specific to X, and it allows us to avoid #including xterm.h in files that don't really have anything to do with X. * blockinput.h: New file. * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. (x_input_blocked, x_pending_input): Deleted; there are analogs in blockinput.h called interrupt_input_blocked and interrupt_input_pending. * keyboard.c (interrupt_input_blocked, interrupt_input_pending): New variables, used by the macros in blockinput.h. * xterm.c: #include blockinput.h. (x_input_blocked, x_pending_input): Deleted. (XTread_socket): Test and set interrupt_input_blocked and interrupt_input_pending instead of the old variables. * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: #include blockinput.h. * eval.c: #include blockinput.h instead of xterm.h. * keyboard.c: #include blockinput.h. (input_poll_signal): Just test interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and x_input_blocked. Block the processing of interrupt input while we're manipulating the malloc heap. * alloc.c: (xfree): New function, to make it easy to free things safely. (xmalloc, xrealloc): Block X input while doing the deed. (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree instead of free. (uninterrupt_malloc): New function, to install input-blocking hooks into the GNU malloc routines. * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc on startup. * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): Use xmalloc instead of malloc; don't bother to check if out of memory here. (Fgarbage_collect): Call xrealloc instead of realloc. * buffer.c: Use xmalloc and xfree instead of malloc and free; don't bother to check if out of memory here. (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around calls to ralloc routines. * insdel.c: Same. * lisp.h (xfree): New extern declaration. * xfaces.c (xfree): Don't #define this to be free; use the definition in alloc.c. * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, xmenu.c, xterm.c: Use xfree instead of free. * hftctl.c: Use xfree and xmalloc instead of free and malloc. * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc and malloc. * search.c: Since the regexp routines can malloc, BLOCK_INPUT while runing them. #include blockinput.h. * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead of free and malloc. BLOCK_INPUT around routines which we know will call malloc. ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that these depend on blockinput.h.
* * xfaces.c: Doc fixes.Jim Blandy1993-03-311-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put interrupt input blocking in a separate file from xterm.h. This isn't specific to X, and it allows us to avoid #including xterm.h in files that don't really have anything to do with X. * blockinput.h: New file. * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. (x_input_blocked, x_pending_input): Deleted; there are analogs in blockinput.h called interrupt_input_blocked and interrupt_input_pending. * keyboard.c (interrupt_input_blocked, interrupt_input_pending): New variables, used by the macros in blockinput.h. * xterm.c: #include blockinput.h. (x_input_blocked, x_pending_input): Deleted. (XTread_socket): Test and set interrupt_input_blocked and interrupt_input_pending instead of the old variables. * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: #include blockinput.h. * eval.c: #include blockinput.h instead of xterm.h. * keyboard.c: #include blockinput.h. (input_poll_signal): Just test interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and x_input_blocked. Block the processing of interrupt input while we're manipulating the malloc heap. * alloc.c: (xfree): New function, to make it easy to free things safely. (xmalloc, xrealloc): Block X input while doing the deed. (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree instead of free. (uninterrupt_malloc): New function, to install input-blocking hooks into the GNU malloc routines. * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc on startup. * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): Use xmalloc instead of malloc; don't bother to check if out of memory here. (Fgarbage_collect): Call xrealloc instead of realloc. * buffer.c: Use xmalloc and xfree instead of malloc and free; don't bother to check if out of memory here. (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around calls to ralloc routines. * insdel.c: Same. * lisp.h (xfree): New extern declaration. * xfaces.c (xfree): Don't #define this to be free; use the definition in alloc.c. * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, xmenu.c, xterm.c: Use xfree instead of free. * hftctl.c: Use xfree and xmalloc instead of free and malloc. * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc and malloc. * search.c: Since the regexp routines can malloc, BLOCK_INPUT while runing them. #include blockinput.h. * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead of free and malloc. BLOCK_INPUT around routines which we know will call malloc. ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that these depend on blockinput.h.
* Initial revisionJim Blandy1993-03-311-0/+72
|
* * keyboard.c (parse_modifiers, apply_modifiers): Make sure we'reJim Blandy1993-03-311-0/+6
| | | | | not trying to create modifier masks using integers which are unrepresentable as lisp values.