diff options
| author | Paul Eggert | 2013-07-09 23:26:23 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-07-09 23:26:23 -0700 |
| commit | 954b166e9037de5fdd43b4fbe7b8c73a36ac402e (patch) | |
| tree | 4a1aa065be1ec87b53fdaff13f1129863ba2ebb5 /src/ChangeLog | |
| parent | 56973319b58a66e97ae45e050f9f943ff8f1439b (diff) | |
| download | emacs-954b166e9037de5fdd43b4fbe7b8c73a36ac402e.tar.gz emacs-954b166e9037de5fdd43b4fbe7b8c73a36ac402e.zip | |
Timestamp fixes for undo.
* doc/lispref/text.texi (Undo):
Document (t . 0) and (t . -1) in buffer-undo-list.
* etc/NEWS: Changes to visited-file-modtime, set-visited-file-modtime.
* lisp/files.el (clear-visited-file-modtime): Move here from fileio.c.
* src/atimer.c (schedule_atimer):
* src/fileio.c (Ffile_newer_than_file_p):
Minor cleanup: use EMACS_TIME_LT so that we can remove EMACS_TIME_GT.
* src/buffer.c (buffer-undo-list): Document (t . 0) and (t . -1).
* src/fileio.c (Fclear_visited_file_modtime): Move to lisp/files.el.
(syms_of_fileio): Remove Sclear_visited_file_name.
(Fvisited_file_modtime): Return -1, not (-1 ...), when the visited
file doesn't exist; this avoids an ambiguity with negative timestamps.
(Fset_visited_file_modtime): Accept -1 and 0 as time-list arg.
* src/systime.h (make_emacs_time, invalid_emacs_time):
Don't assume struct timespec layout; POSIX doesn't guarantee it.
(EMACS_TIME_NE, EMACS_TIME_GT, EMACS_TIME_GE): Remove.
* src/undo.c (record_first_change): Push (visited-file-modtime) onto
undo list rather than reimplementing it by hand, incorrectly.
Fixes: debbugs:14824
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a96f1153ef0..049c917eddd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2013-07-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Timestamp fixes for undo (Bug#14824). | ||
| 4 | * atimer.c (schedule_atimer): | ||
| 5 | * fileio.c (Ffile_newer_than_file_p): | ||
| 6 | Minor cleanup: use EMACS_TIME_LT so that we can remove EMACS_TIME_GT. | ||
| 7 | * buffer.c (buffer-undo-list): Document (t . 0) and (t . -1). | ||
| 8 | * fileio.c (Fclear_visited_file_modtime): Move to lisp/files.el. | ||
| 9 | (syms_of_fileio): Remove Sclear_visited_file_name. | ||
| 10 | (Fvisited_file_modtime): Return -1, not (-1 ...), when the visited | ||
| 11 | file doesn't exist; this avoids an ambiguity with negative timestamps. | ||
| 12 | (Fset_visited_file_modtime): Accept -1 and 0 as time-list arg. | ||
| 13 | * systime.h (make_emacs_time, invalid_emacs_time): | ||
| 14 | Don't assume struct timespec layout; POSIX doesn't guarantee it. | ||
| 15 | (EMACS_TIME_NE, EMACS_TIME_GT, EMACS_TIME_GE): Remove. | ||
| 16 | * undo.c (record_first_change): Push (visited-file-modtime) onto | ||
| 17 | undo list rather than reimplementing it by hand, incorrectly. | ||
| 18 | |||
| 1 | 2013-07-09 Ken Brown <kbrown@cornell.edu> | 19 | 2013-07-09 Ken Brown <kbrown@cornell.edu> |
| 2 | 20 | ||
| 3 | * sheap.c (STATIC_HEAP_SIZE) [__x86_64__]: Increase to 18MB. | 21 | * sheap.c (STATIC_HEAP_SIZE) [__x86_64__]: Increase to 18MB. |