summaryrefslogtreecommitdiff
path: root/src/editfns.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fuser_full_name): Return nil if the specified user doesn't exist.Richard M. Stallman1996-12-151-1/+3
| | | | | (init_editfns): Set Vuser_full_name to "unknown" if the user name can't be resolved.
* (Fuser_full_name): Use build_string instead of make_string.Richard M. Stallman1996-12-091-2/+2
|
* (Fuser_full_name): Accept a string (the login name) asRichard M. Stallman1996-12-081-29/+44
| | | | | a parameter. Do ampersand expansion, if required. (init_editfns): Use it.
* (Fline_beginning_position, Fline_end_position): New fns.Richard M. Stallman1996-12-081-4/+59
| | | | | (Fuser_full_name): Accept an optional UID and return the full name of that user instead.
* (Fencode_time): Doc fix.Richard M. Stallman1996-11-061-1/+1
|
* (Fencode_time): Use xfree, not free.Richard M. Stallman1996-11-051-1/+1
|
* Reorganize function definitions so etags finds them.Erik Naggum1996-10-311-3/+2
|
* (Fsave_current_buffer): New function.Richard M. Stallman1996-09-231-1/+17
| | | | (syms_of_editfns): defsubr it.
* (tm_diff): Renamed from difftm. Yield int, not long.Paul Eggert1996-09-211-26/+24
| | | | | This now uses the same code as the GNU C Library. All callers changed. (TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN.
* (Finsert_buffer_substring): Check for deleted buffer.Karl Heuer1996-09-051-0/+6
| | | | (Fcompare_buffer_substrings): Likewise.
* (Fformat): Pass a string using XSTRING.Richard M. Stallman1996-09-031-1/+1
|
* (Fencode_time): Remove NEXTSTEP workaround;Paul Eggert1996-09-031-4/+0
| | | | we now use our mktime instead.
* (Fencode_time) [_NEXT_SOURCE]: Use ZONE, not ABSZONE.Richard M. Stallman1996-09-021-1/+1
|
* Change all references from point to PT.Karl Heuer1996-09-011-14/+14
|
* (Fencode_time, Fset_time_zone_rule): Use UTC if the zone is t.Erik Naggum1996-08-241-3/+8
|
* (set_time_zone_rule): Don't put a string literalRichard M. Stallman1996-08-081-8/+15
| | | | "TZ=..." in environ.
* (Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,Karl Heuer1996-07-241-0/+4
| | | | since timezone environment variable is ignored.
* (Fdecode_time, difftm): Work even if tm_year representsRichard M. Stallman1996-07-231-3/+6
| | | | negative years; this is possible with 64-bit time_t values.
* (set_time_zone_rule):Richard M. Stallman1996-06-051-0/+48
| | | | Work around localtime cache bug in SunOS 4.1.3_U1 and SunOS 4.1.4.
* (Fformat_time_string): Doc fix.Karl Heuer1996-05-151-2/+1
|
* (Fencode_time): Accept MANY args, so as to copeRichard M. Stallman1996-05-071-19/+27
| | | | with the value of decode-time.
* (save_excursion_restore): Add gcpros.Richard M. Stallman1996-04-261-2/+8
|
* (Fcompare_buffer_substrings): Fix dumb bug handling buffer name as second arg.Richard M. Stallman1996-04-131-1/+1
|
* (Fformat_time_string): Doc fix.Richard M. Stallman1996-04-121-2/+2
|
* Comment change.Richard M. Stallman1996-03-221-1/+2
|
* (syms_of_editfns): Make buffer-access-fontify-functionsRichard M. Stallman1996-01-301-0/+12
| | | | locally nil in the prin1 buffer.
* (Fcompare_buffer_substrings): Access case_canon_table as a char_table.Richard M. Stallman1996-01-271-2/+2
|
* (Fformat_time_string): Don't crash if the resulting string is empty.Paul Eggert1996-01-201-3/+5
| | | | Doc fix.
* sp correctionSimon Marshall1996-01-181-1/+1
|
* (set_time_zone_rule): No longer static.Richard M. Stallman1996-01-171-2/+2
|
* (update_buffer_properties): Delete superfluous &'s.Karl Heuer1996-01-091-2/+2
|
* (Fchar_to_string, Fstring_to_char, Fgoto_char, Fencode_time, Finsert_char,Erik Naggum1996-01-091-74/+74
| | | | | | | Fbuffer_substring, Fbuffer_substring_no_properties, Finsert_buffer_substring, Fdelete_region, Fnarrow_to_region): Harmonize arguments with documentation. (Fformat_time_string): Allow TIME to default to current time.
* (Fmessage_box, Fmessage_or_box):Richard M. Stallman1995-12-281-17/+11
| | | | HAVE_X_MENU renamed to HAVE_MENUS. Doc fixes.
* (Fset_time_zone_rule): Move static var environbufKarl Heuer1995-12-211-11/+105
| | | | | | | | | | | | | | | | | | | | | | to top level. (syms_of_editfns): Initialize environbuf explicitly. (Vbuffer_access_fontified_property): New variable. (syms_of_editfns): Set up Lisp var. (make_buffer_string): Don't call the Vbuffer_access_fontify_functions if the text is already fontified. (Fbuffer_string): Pas 1 for PROPS arg. (update_buffer_properties): New subroutine. (Finsert_buffer_substring): Use update_buffer_properties. (make_buffer_string): New arg PROPS. (Fbuffer_string, Fbuffer_substring): Pass new arg. (Fbuffer_substring_no_properties): New function. (syms_of_editfns): defsubr it. (Vbuffer_access_fontify_functions): New variable. (Qbuffer_access_fontify_functions): New variable. (syms_of_editfns): Set up Lisp variable, initialize them. (make_buffer_string): Run this new hook.
* (Fcurrent_time): Doc fix.Richard M. Stallman1995-11-211-1/+1
|
* (Fformat): Use doprnt_lisp.Richard M. Stallman1995-11-101-2/+7
|
* (Fencode_time): Add cast.Richard M. Stallman1995-10-301-2/+2
| | | | (Fset_time_zone_rule): Add cast.
* (Fchar_equal): Handle char-table as case table.Richard M. Stallman1995-10-181-2/+3
|
* (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.