aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fencode_time): Use mktime to do the real work;Paul Eggert1995-09-101-90/+80
| | | | | | | | | | | this fixes bugs involving out-of-range dates and leap seconds, and allows date arithmetic via out-of-range values for arguments. Allow the ZONE parameter to be a TZ-style string. Doc string fix: `1900' -> `this century'. (set_time_zone_rule): New function. (Fset_time_zone_rule): Use it. (environ, make_time): Add extern declarations. (days_per_month): Remove.
* (Fset_time_zone_rule): New function.Richard M. Stallman1995-09-101-0/+50
| | | | (syms_of_editfns): defsubr it.
* (Fdecode_time): Doc fix.Richard M. Stallman1995-09-091-1/+2
|
* (save_excursion_save): Pass the new arg to Fcopy_marker.Richard M. Stallman1995-09-011-1/+1
|
* (Fdecode_time): Doc fix.Richard M. Stallman1995-08-291-1/+1
|
* Delete some #if 0'd functions.Richard M. Stallman1995-08-271-46/+0
|
* (Fformat): Limit minlen to avoid stack overflow.Richard M. Stallman1995-08-111-5/+16
|
* (Fformat): Doc fix.Richard M. Stallman1995-07-201-1/+5
|
* (Fsubst_char_in_region): Bind buffer-file-name to nil if NOUNDO is true.Richard M. Stallman1995-07-201-1/+13
|
* (Fformat): Increment total for size of control string.Richard M. Stallman1995-07-181-0/+3
|
* (Fmessage): Doc fix.Richard M. Stallman1995-07-181-6/+3
|
* (Fwiden): Set clip_changed in current buffer.Richard M. Stallman1995-07-071-3/+3
| | | | (Fnarrow_to_region, save_restriction_restore): Likewise.
* Update GPL to version 2.Karl Heuer1995-06-151-1/+1
|
* (Fencode_time): Doc fix.Karl Heuer1995-06-031-1/+1
|
* (syms_of_editfns): user-login-name renamed from user-name.Karl Heuer1995-05-301-16/+17
| | | | | user-real-login-name renamed from user-real-name. C names changed to Vuser_real_login_name, Vuser_login_name as well.
* (format1): Cast arg of doprnt.Karl Heuer1995-05-251-2/+2
|
* (Fformat): Split double into two pointers, not two ints.Karl Heuer1995-05-221-3/+3
|
* (days_per_month): Move variable to top level.Richard M. Stallman1995-05-051-1/+3
|
* (Fencode_time): Rename arg from min to minute.Richard M. Stallman1995-05-051-7/+7
| | | | (Fformat): Allow 30 characters in the printed version of integers and floats.
* Comment change.Richard M. Stallman1995-04-181-1/+3
|
* (Fencode_time): Don't treat years < 100 as special.Richard M. Stallman1995-04-181-9/+2
|
* (Fencode_time): Rewrite by Naggum.Richard M. Stallman1995-04-171-52/+69
|
* (Fencode_time): Fix missing \n\'s.Karl Heuer1995-04-141-6/+6
|
* (init_editfns): Add casts.Richard M. Stallman1995-04-141-3/+3
|
* (Fbuffer_string): Doc clarification.Karl Heuer1995-04-131-1/+3
|
* (Fencode_time): Use XINT to examine `zone'.Richard M. Stallman1995-04-121-0/+85
| | | | (Fencode_time): New function, to match `decode-time'.
* (Fformat): Cast int to pointer by way of EMACS_INT.Richard M. Stallman1995-04-071-5/+5
| | | | (Fformat_time_string): Use emacs_strftime. Doc fix.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (init_editfns): Use NAME envvar to init user-full-name.Richard M. Stallman1995-03-271-0/+4
|
* (subst_char_in_region_unwind): New function.Richard M. Stallman1995-01-191-0/+19
| | | | (Fsubst_char_in_region): Use it to make undo_list t temporarily.
* (Fnarrow_to_region): Swap using temp Lisp_Object, not int.Karl Heuer1995-01-101-5/+2
|
* (Finsert_char): Check inherit flag for long strings too.Karl Heuer1995-01-101-1/+6
|
* Use SAVE_MODIFF and BUF_SAVE_MODIFFRichard M. Stallman1995-01-021-4/+4
| | | | | | | instead of direct access to the save_modiff field. (Ftranspose_regions): Use BUF_INTERVALS. (transpose_markers): Use BUF_MARKERS.
* (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
|