diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/buffer.c | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7a727482d7b..d924233b796 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-11-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * buffer.c (Fforce_mode_line_update): Don't fall off end of function | ||
| 4 | that requires a return value. | ||
| 5 | (Fset_buffer_modified_p): Take advantage of this change to do | ||
| 6 | a tail call. | ||
| 7 | |||
| 1 | 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * buffer.c (Frestore_buffer_modified_p): Sync it with | 10 | * buffer.c (Frestore_buffer_modified_p): Sync it with |
diff --git a/src/buffer.c b/src/buffer.c index a528397a9d2..61b685ea5c5 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1341,6 +1341,7 @@ menu bar menus and the frame title. */) | |||
| 1341 | update_mode_lines = 10; | 1341 | update_mode_lines = 10; |
| 1342 | current_buffer->prevent_redisplay_optimizations_p = 1; | 1342 | current_buffer->prevent_redisplay_optimizations_p = 1; |
| 1343 | } | 1343 | } |
| 1344 | return all; | ||
| 1344 | } | 1345 | } |
| 1345 | 1346 | ||
| 1346 | DEFUN ("set-buffer-modified-p", Fset_buffer_modified_p, Sset_buffer_modified_p, | 1347 | DEFUN ("set-buffer-modified-p", Fset_buffer_modified_p, Sset_buffer_modified_p, |
| @@ -1362,9 +1363,7 @@ A non-nil FLAG means mark the buffer modified. */) | |||
| 1362 | Ideally, I think there should be another mechanism for fontifying | 1363 | Ideally, I think there should be another mechanism for fontifying |
| 1363 | buffers without "modifying" buffers, or redisplay should be | 1364 | buffers without "modifying" buffers, or redisplay should be |
| 1364 | smarter about updating the `*' in mode lines. --gerd */ | 1365 | smarter about updating the `*' in mode lines. --gerd */ |
| 1365 | Fforce_mode_line_update (Qnil); | 1366 | return Fforce_mode_line_update (Qnil); |
| 1366 | |||
| 1367 | return flag; | ||
| 1368 | } | 1367 | } |
| 1369 | 1368 | ||
| 1370 | DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p, | 1369 | DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p, |