1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 19:31:02 -08:00
Commit graph

42 commits

Author SHA1 Message Date
Richard M. Stallman
7fd233b39a (Femacs_pid): New function.
(syms_of_editfns): Define it for Lisp.
1993-12-30 10:08:46 +00:00
Richard M. Stallman
7653d03099 (Fmessage): Use message2.
(Fsubst_char_in_region): Move the NOUNDO hacking code
after the modify_region call.
1993-12-23 01:28:34 +00:00
Richard M. Stallman
60b96ee7a3 (make_buffer_string): Don't copy intervals
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.
1993-11-23 10:38:59 +00:00
Richard M. Stallman
4c39085081 Doc fixes. 1993-11-09 21:37:50 +00:00
Richard M. Stallman
be91036a03 (Finsert_and_inherit): New function.
(Finsert_and_inherit_before_markers): New function.
(Finsert, Finsert_before_markers): Pass new arg to insert_from_string*.
1993-09-14 12:08:49 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Richard M. Stallman
ef58099133 (save_excursion_restore): Never make the buffer visible. 1993-08-02 07:58:13 +00:00
Richard M. Stallman
f5ff08b04f (syms_of_editfns): Just staticpro Vuser...name
and Vsystem_name; don't make them Lisp variables.
1993-07-30 22:48:30 +00:00
Roland McGrath
646d9d18cc (region_limit): Declare Vmark_even_if_inactive. 1993-07-08 23:45:22 +00:00
Roland McGrath
c9dd14e184 (region_limit): Don't error if Vmark_even_if_inactive is set. When the
mark is inactive and that is a no-no, signal mark-inactive instead of using
error with a message.
1993-07-08 21:36:04 +00:00
Jim Blandy
50aa2f9032 * editfns.c (Fformat): Since floats occupy two elements in the
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.
1993-07-07 10:22:05 +00:00
Roland McGrath
83ea6fc2b1 (Finsert_buffer_substring): Doc fix. 1993-06-16 22:37:24 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
a7971c39a9 (Fcurrent_time_zone): Add alternative for !HAVE_TM_ZONE. 1993-06-06 17:43:12 +00:00
Richard M. Stallman
00fc94d02f (Fcurrent_time_zone): Make `am' an int, not long. 1993-05-23 22:41:44 +00:00
Richard M. Stallman
2d88f74700 (Fcurrent_time_zone): Assign gmt, instead of init. 1993-05-23 18:04:25 +00:00
Jim Blandy
738429d120 * editfns.c: #include <sys/types.h>, to get time_t for Eggert's
changes.
1993-05-22 21:45:31 +00:00
Jim Blandy
e3120ab527 Some time-handling patches from Paul Eggert:
* 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.
1993-05-20 06:29:45 +00:00
Jim Blandy
04a759c81b The text property routines can now modify buffers other
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.
1993-05-14 14:43:30 +00:00
Jim Blandy
773c1fd398 * editfns.c (Fcurrent_time_zone): Return a list whose elements are
nil if the time zone information is unavailable, instead of
	signalling an error.
1993-04-05 23:10:10 +00:00
Richard M. Stallman
c34beca954 (Fchar_equal): Don't ignore high bits of character. 1993-03-27 04:20:05 +00:00
Richard M. Stallman
2148f2b438 (Fcurrent_time_string): Optional arg specifies time. 1993-03-12 12:02:31 +00:00
Richard M. Stallman
9772455e0d (save_excursion_save): Save mark_active of buffer.
(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.
1993-03-07 09:32:22 +00:00
Jim Blandy
f0250249f9 * editfns.c (Fmessage): Don't forget to return a value when
args[0] == Qnil.
1993-02-22 14:38:43 +00:00
Richard M. Stallman
3fff2dfa0c (Finsert_buffer_substring): Proper error for non-ex buffer.
(Fcompare_buffer_substrings): Likewise.
1993-02-11 23:21:01 +00:00
Richard M. Stallman
e9cf2084dd (Fcompare_buffer_substrings): New function. 1993-02-11 06:00:51 +00:00
Richard M. Stallman
dbac6e3de7 Doc fixes. 1993-01-08 20:33:12 +00:00
Jim Blandy
ccdac5be86 * * editfns.c (Fmessage): With no arguments, clear any active
message; let the minibuffer contents show through.
1992-10-17 22:11:56 +00:00
Joseph Arceneaux
74d6d8c5d6 * editfns.c (make_buffer_string): Call copy_intervals_to_string().
(Finsert_buffer_substring): Call graft_intervals_into_buffer().
	#include "intervals.h".
1992-10-01 00:56:11 +00:00
Jim Blandy
0e2c9c702c * editfns.c (save_excursion_save, save_excursion_restore):
Formatting tweaked for readability.
1992-09-29 06:19:35 +00:00
Jim Blandy
4b93635c3e * editfns.c (Fcurrent_time_string): Change docstring to
indicate that we will probably add the timezone to the end,
        now that we have it available on many systems.
1992-09-13 12:21:15 +00:00
Jim Blandy
c2662aea9a * editfns.c (Fcurrent_time_zone): Doc fix.
* 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.
1992-08-12 13:46:12 +00:00
Richard M. Stallman
4176aa4a4e entered into RCS 1992-06-04 23:02:37 +00:00
Jim Blandy
ffd56f97cf *** empty log message *** 1992-05-18 08:14:41 +00:00
Jim Blandy
4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy
956ace37a8 *** empty log message *** 1992-03-14 19:09:32 +00:00
Jim Blandy
850a817921 *** empty log message *** 1992-01-21 17:21:50 +00:00
Jim Blandy
56a98455a6 *** empty log message *** 1992-01-14 02:48:51 +00:00
Jim Blandy
d940e0e442 *** empty log message *** 1991-12-08 07:04:21 +00:00
Jim Blandy
bfb612994f *** empty log message *** 1991-08-02 02:24:35 +00:00
Jim Blandy
52b14ac064 *** empty log message *** 1991-07-15 11:14:59 +00:00
Jim Blandy
35692fe0de Initial revision 1991-06-29 22:03:10 +00:00