summaryrefslogtreecommitdiff
path: root/src/editfns.c
Commit message (Collapse)AuthorAgeFilesLines
* (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
|
* (Fcurrent_time_zone): Assign gmt, instead of init.Richard M. Stallman1993-05-231-5/+7
|
* * editfns.c: #include <sys/types.h>, to get time_t for Eggert'sJim Blandy1993-05-221-0/+2
| | | | changes.
* Some time-handling patches from Paul Eggert:Jim Blandy1993-05-201-45/+91
| | | | | | | | | | | | * editfns.c (Fcurrent_time_zone): Take an optional argument specifying what (absolute) time should be used to determine the current time zone. Yield just offset and name of time zone, including DST correction. Yield time zone offset in seconds, not minutes. (lisp_time_argument, difftm): New functions. (Fcurrent_time_string): Use lisp_time_argument. * systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET, EMACS_GET_TZ_NAMES): Remove. * config.h.in: Add HAVE_TM_ZONE.
* The text property routines can now modify buffers otherJim Blandy1993-05-141-2/+2
| | | | | | | | | | | | than the current one. * insdel.c (modify_region): New argument BUFFER. Select that buffer while we prepare for the modification, and switch back when we're done. * textprop.c (add_properties, remove_properties): Pass the buffer being modified as the first argument to modify_region. * editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the current_buffer as the first argument to modify_region. * casefiddle.c (casify_region): Same.
* * 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.
* (Fchar_equal): Don't ignore high bits of character.Richard M. Stallman1993-03-271-1/+2
|
* (Fcurrent_time_string): Optional arg specifies time.Richard M. Stallman1993-03-121-6/+31
|
* (save_excursion_save): Save mark_active of buffer.Richard M. Stallman1993-03-071-5/+17
| | | | | | (save_excursion_restore): Restore mark_active of buffer. Run activate-mark-hook if it's on, or deactivate-mark-hook if it turns off. (region_limit): Error if mark inactive, if transient-mark-mode.
* * editfns.c (Fmessage): Don't forget to return a value whenJim Blandy1993-02-221-1/+4
| | | | args[0] == Qnil.
* (Finsert_buffer_substring): Proper error for non-ex buffer.Richard M. Stallman1993-02-111-5/+14
| | | | (Fcompare_buffer_substrings): Likewise.
* (Fcompare_buffer_substrings): New function.Richard M. Stallman1993-02-111-0/+117
|
* Doc fixes.Richard M. Stallman1993-01-081-5/+3
|
* * * editfns.c (Fmessage): With no arguments, clear any activeJim Blandy1992-10-171-6/+12
| | | | message; let the minibuffer contents show through.
* * editfns.c (make_buffer_string): Call copy_intervals_to_string().Joseph Arceneaux1992-10-011-3/+18
| | | | | (Finsert_buffer_substring): Call graft_intervals_into_buffer(). #include "intervals.h".
* * editfns.c (save_excursion_save, save_excursion_restore):Jim Blandy1992-09-291-3/+6
| | | | Formatting tweaked for readability.
* * editfns.c (Fcurrent_time_string): Change docstring toJim Blandy1992-09-131-2/+1
| | | | | indicate that we will probably add the timezone to the end, now that we have it available on many systems.
* * editfns.c (Fcurrent_time_zone): Doc fix.Jim Blandy1992-08-121-0/+38
| | | | | | | | * editfns.c (Fcurrent_time_zone): Don't forget to include code to signal an error when EMACS_CURRENT_TIME_ZONE is not defined. * editfns.c (Fcurrent_time_zone): New function. (syms_of_editfns): defsubr it.
* entered into RCSRichard M. Stallman1992-06-041-24/+0
|
* *** empty log message ***Jim Blandy1992-05-181-17/+28
|
* *** empty log message ***Jim Blandy1992-04-241-0/+6
|
* *** empty log message ***Jim Blandy1992-03-141-11/+20
|
* *** empty log message ***Jim Blandy1992-01-211-7/+12
|
* *** empty log message ***Jim Blandy1992-01-141-30/+12
|
* *** empty log message ***Jim Blandy1991-12-081-7/+9
|
* *** empty log message ***Jim Blandy1991-08-021-0/+6
|
* *** empty log message ***Jim Blandy1991-07-151-21/+28
|
* Initial revisionJim Blandy1991-06-291-0/+1265