diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0f3061b4973..0af14a10609 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1379,8 +1379,8 @@ DEFUN ("buffer-modified-p", Fbuffer_modified_p, Sbuffer_modified_p, | |||
| 1379 | doc: /* Return non-nil if BUFFER was modified since its file was last read or saved. | 1379 | doc: /* Return non-nil if BUFFER was modified since its file was last read or saved. |
| 1380 | No argument or nil as argument means use current buffer as BUFFER. | 1380 | No argument or nil as argument means use current buffer as BUFFER. |
| 1381 | 1381 | ||
| 1382 | If BUFFER has been autosaved after BUFFER was last modified, the | 1382 | If BUFFER was autosaved since it was last modified, this function |
| 1383 | symbol `autosaved' is returned. */) | 1383 | returns the symbol `autosaved'. */) |
| 1384 | (Lisp_Object buffer) | 1384 | (Lisp_Object buffer) |
| 1385 | { | 1385 | { |
| 1386 | struct buffer *buf = decode_buffer (buffer); | 1386 | struct buffer *buf = decode_buffer (buffer); |
| @@ -1448,9 +1448,9 @@ DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p, | |||
| 1448 | Srestore_buffer_modified_p, 1, 1, 0, | 1448 | Srestore_buffer_modified_p, 1, 1, 0, |
| 1449 | doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line. | 1449 | doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line. |
| 1450 | A nil FLAG means to mark the buffer as unmodified. A non-nil FLAG | 1450 | A nil FLAG means to mark the buffer as unmodified. A non-nil FLAG |
| 1451 | means mark the buffer as modified, except the special value | 1451 | means mark the buffer as modified, but the special value |
| 1452 | `autosaved', which will instead mark the buffer as having been | 1452 | `autosaved' will instead mark the buffer as having been |
| 1453 | autosaved. | 1453 | autosaved since it was last modified. |
| 1454 | 1454 | ||
| 1455 | This function also locks or unlocks the file visited by the buffer, | 1455 | This function also locks or unlocks the file visited by the buffer, |
| 1456 | if both `buffer-file-truename' and `buffer-file-name' are non-nil. | 1456 | if both `buffer-file-truename' and `buffer-file-name' are non-nil. |