aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fdecode_time): Fix Lisp_Object vs. integer problems.Karl Heuer1994-11-021-8/+17
| | | | Don't use tm_gmtoff; it's not portable.
* (Fdecode_time): Change one XFASTINT to XINT.Richard M. Stallman1994-11-011-1/+1
|
* (init_editfns): Get the username from the environmentRichard M. Stallman1994-11-011-0/+40
| | | | | | | variable USERNAME instead of USER. (Fdecode_time): New function. (syms_of_editfns): defsubr it.
* (Finsert_buffer_substring): Use insert_from_buffer instead of insert.Karl Heuer1994-10-221-29/+5
|
* *** empty log message ***Morten Welinder1994-10-171-4/+22
|
* (Fuser_login_name, Fuser_real_login_name):Richard M. Stallman1994-10-131-0/+10
| | | | Call init_editfns now if it was not done before.
* (Fstring_to_char, Fpoint, Fbufsize, Fpoint_min, Fpoint_max, Ffollowing_char,Karl Heuer1994-10-041-15/+15
| | | | | Fprevious_char, Fchar_after, Ftranslate_region, Fnarrow_to_region, save_restriction_save): Don't use XFASTINT as an lvalue.
* (Fcurrent_time, Fformat): Use new accessor macros instead of calling XSETKarl Heuer1994-10-041-4/+4
| | | | directly.
* (lisp_time_argument, Finsert, Finsert_and_inherit, Finsert_before_markers,Karl Heuer1994-09-271-15/+15
| | | | Finsert_and_inherit_before_markers, Fformat): Use type test macros.
* (Fformat_time_string): Mostly rewritten, to handleRichard M. Stallman1994-09-271-0/+65
| | | | | | | unlimited size, and report errors properly. (Fformat_time_string): New function. (syms_of_editfns): Defsubr it.
* (Fmessage_or_box): Use Fmessage_box with new name.Richard M. Stallman1994-09-221-1/+1
|
* (Fmessage_box): Renamed from Fbox_message.Richard M. Stallman1994-09-211-0/+82
| | | | | | (Fbox_message): New function to print a message in a dialog box. (Fmessage_or_box): New function that choose whether to print a message in a dialog or in the echo area.
* (Fnarrow_to_region, format1): Use EMACS_INT.Richard M. Stallman1994-09-171-3/+3
|
* (syms_of_editfns): Make Vsystem_name and Vuser...name lisp variables again.Karl Heuer1994-09-161-4/+11
|
* (Finsert_and_inherit_before_markers):Richard M. Stallman1994-08-301-2/+2
| | | | | Use insert_before_markers_and_inherit for character args. (Finsert_and_inherit): Use insert_and_inherit for character args.
* (Finsert_char): New arg INHERIT.Richard M. Stallman1994-08-281-5/+10
| | | | Use insert_and_inherit if requested.
* (get_system_name): Add a cast.Richard M. Stallman1994-07-251-1/+1
|
* (init_editfns): Call init_system_name instead of get_system_name.Karl Heuer1994-06-151-9/+8
| | | | (get_system_name): New function, now just uses Vsystem_name.
* (transpose_markers): Allow for gap at start of region.Karl Heuer1994-06-121-48/+38
| | | | (Ftranspose_regions): Don't precompute pointers into buffer text.
* (difftm): Don't store a long value into an int variable.Richard M. Stallman1994-05-281-1/+1
|
* (Ftranspose_regions): Fix overlays after moving markers.Karl Heuer1994-05-171-1/+15
| | | | Update point as if it were a marker.
* (Fcurrent_time_zone): Add cast.Richard M. Stallman1994-05-151-1/+1
|
* (save_excursion_restore): Don't run activate-mark-hookRichard M. Stallman1994-05-131-2/+10
| | | | if mark position is unchanged.
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (Ftranspose_regions): Take addresses only after move gap.Richard M. Stallman1994-05-011-28/+54
| | | | | | Cast result of alloca. Use xmalloc instead, for large objects. Always copy the middle portion directly; never put it in temp. Always move the gap to START1 or END2, whichever is nearer.
* (Ftranspose_regions): New function.Richard M. Stallman1994-04-291-0/+301
| | | | | (transpose_markers): Helper func for above. (syms_of_frame): Call defsubr for Stranspose_regions.
* (Fuser_real_login_name): Doc syntax fix.Richard M. Stallman1994-04-141-1/+1
|
* (make_buffer_string): Copy properties whenever we have someRichard M. Stallman1994-04-091-2/+3
| | | | even if they don't change.
* (Fformat): Reword confusing error message.Karl Heuer1994-04-071-1/+1
|
* (Fformat): Validate number and type of arguments.Karl Heuer1994-03-251-1/+3
|
* (save_excursion_restore): Don't call Vrun_hooks if nil.Richard M. Stallman1994-03-051-4/+7
|
* (Fuser_real_login_name): Doc fix.Karl Heuer1994-02-111-1/+2
|
* (init_editfns): Look at LOGNAME before USER.Karl Heuer1994-02-111-4/+4
|
* (Fmessage): Copy the text to be displayed into a malloc'd buffer.Karl Heuer1994-02-101-1/+19
|
* (difftm): Simplify expression.Karl Heuer1994-02-101-16/+15
|
* (Femacs_pid): New function.Richard M. Stallman1993-12-301-0/+8
| | | | (syms_of_editfns): Define it for Lisp.
* (Fmessage): Use message2.Richard M. Stallman1993-12-231-10/+11
| | | | | (Fsubst_char_in_region): Move the NOUNDO hacking code after the modify_region call.
* (make_buffer_string): Don't copy intervalsRichard M. Stallman1993-11-231-7/+19
| | | | | | | | | | | if we don't really have any properties. (Finsert_buffer_substring): Pass graft_intervals_into_buffer the current buffer. Pass it the extra arg LENGTH. (Fsubst_char_in_region): Call modify_region only if a change has to be made. Call signal_after_change just once, at end.
* Doc fixes.Richard M. Stallman1993-11-091-6/+6
|
* (Finsert_and_inherit): New function.Richard M. Stallman1993-09-141-3/+78
| | | | | (Finsert_and_inherit_before_markers): New function. (Finsert, Finsert_before_markers): Pass new arg to insert_from_string*.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (save_excursion_restore): Never make the buffer visible.Richard M. Stallman1993-08-021-0/+5
|
* (syms_of_editfns): Just staticpro Vuser...nameRichard M. Stallman1993-07-301-11/+4
| | | | and Vsystem_name; don't make them Lisp variables.
* (region_limit): Declare Vmark_even_if_inactive.Roland McGrath1993-07-081-0/+1
|
* (region_limit): Don't error if Vmark_even_if_inactive is set. When theRoland McGrath1993-07-081-2/+3
| | | | | mark is inactive and that is a no-no, signal mark-inactive instead of using error with a message.
* * editfns.c (Fformat): Since floats occupy two elements in theJim Blandy1993-07-071-7/+12
| | | | | | argument list passed to doprnt, we must use separate indices for the array of arguments passed to Fformat, and the array of arguments to be passed to doprnt.
* (Finsert_buffer_substring): Doc fix.Roland McGrath1993-06-161-1/+1
|
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-2/+2
|
* (Fcurrent_time_zone): Add alternative for !HAVE_TM_ZONE.Richard M. Stallman1993-06-061-0/+5
|
* (Fcurrent_time_zone): Make `am' an int, not long.Richard M. Stallman1993-05-231-1/+1
|