diff options
| author | Lars Magne Ingebrigtsen | 2014-11-16 23:36:58 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2014-11-16 23:41:55 +0100 |
| commit | d1b04a9e7ada7070dbd84bb450411c1f169b3739 (patch) | |
| tree | 8f0e26d1e2154f91364fd1b919df8bd8855604fd /src/ChangeLog | |
| parent | c94988f4b740738cbc4660ee9c64637e55ad5d76 (diff) | |
| download | emacs-d1b04a9e7ada7070dbd84bb450411c1f169b3739.tar.gz emacs-d1b04a9e7ada7070dbd84bb450411c1f169b3739.zip | |
Implement an `inhibit-read-only' text property
* doc/lispref/text.texi (Special Properties): Mention `inhibit-read-only'.
* src/buffer.c (Fbarf_if_buffer_read_only): Don't raise an error if
the text at POSITION (new optional argument) has the
`inhibit-read-only' text property set.
* src/callint.c (Fcall_interactively): Pass in nil as argument to
Fbarf_if_buffer_read_only.
* src/fileio.c (Finsert_file_contents): Ditto.
* src/insdel.c (prepare_to_modify_buffer_1): Pass start region in.
* src/intervals.h (INTERVAL_WRITABLE_P): Check the `inhibit-read-only'
text property.
* src/textprop.c (verify_interval_modification): Check buffer
readedness after the last interval.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7bb16668406..d1888987dbc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * intervals.h (INTERVAL_WRITABLE_P): Check the `inhibit-read-only' | ||
| 4 | text property. | ||
| 5 | |||
| 6 | * callint.c (Fcall_interactively): Pass in nil as argument to | ||
| 7 | Fbarf_if_buffer_read_only. | ||
| 8 | |||
| 9 | * fileio.c (Finsert_file_contents): Ditto. | ||
| 10 | |||
| 11 | * insdel.c (prepare_to_modify_buffer_1): Pass start region in. | ||
| 12 | |||
| 13 | * textprop.c (verify_interval_modification): Check buffer | ||
| 14 | readedness after the last interval. | ||
| 15 | |||
| 16 | * buffer.c (Fbarf_if_buffer_read_only): Don't raise an error if | ||
| 17 | the text at POSITION (new optional argument) has the | ||
| 18 | `inhibit-read-only' text property set. | ||
| 19 | |||
| 1 | 2014-11-16 Eli Zaretskii <eliz@gnu.org> | 20 | 2014-11-16 Eli Zaretskii <eliz@gnu.org> |
| 2 | 21 | ||
| 3 | * window.c (window_scroll_pixel_based): Avoid truncation/rounding | 22 | * window.c (window_scroll_pixel_based): Avoid truncation/rounding |