diff options
| author | Po Lu | 2022-12-11 09:34:03 +0800 |
|---|---|---|
| committer | Po Lu | 2022-12-11 09:34:03 +0800 |
| commit | 5737c2a3af70bc8d653abdb22922c4dc2a49e878 (patch) | |
| tree | 4e718cb78d35766fb2b7ff7f7cc96fa575db53f6 /src/buffer.h | |
| parent | 52de8885048daf444bdbdb34c4b3d0318dc6a76c (diff) | |
| parent | 79659416f95ac986812a8b40c1260907b95aaa0b (diff) | |
| download | emacs-5737c2a3af70bc8d653abdb22922c4dc2a49e878.tar.gz emacs-5737c2a3af70bc8d653abdb22922c4dc2a49e878.zip | |
Merge from origin/emacs-29
79659416f95 ; * admin/git-bisect-start: Fix commit hash
a9037aa8e81 ; Fix use-package-ensure-system-package macOS footnote
7d787564c08 Actually improve detection of long lines
118465f6fed ; Improve checkdoc.el commentary section
30e3cb21351 Unset the weight/slant/width in the spec when realizing a...
01154166057 Update to Org 9.6-31-g954a95
26a8644a587 ; tabulated-list.el: Remove duplicate obsolete declaration
29b9aeae32a ; * doc/misc/use-package.texi: Fix misplaced @end group.
3c5a41b2008 ; * doc/lispref/keymaps.texi (Searching Keymaps): Fix a t...
1753da24cd4 Fix infloop in 'shell-resync-dirs' with tcsh
2f1269c3331 ; Fix some minor issues in use-package.texi
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/buffer.h b/src/buffer.h index 9ead875bcf8..7c3d1903140 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -149,18 +149,12 @@ enum { BEG = 1, BEG_BYTE = BEG }; | |||
| 149 | #define BUF_BEG_UNCHANGED(buf) ((buf)->text->beg_unchanged) | 149 | #define BUF_BEG_UNCHANGED(buf) ((buf)->text->beg_unchanged) |
| 150 | #define BUF_END_UNCHANGED(buf) ((buf)->text->end_unchanged) | 150 | #define BUF_END_UNCHANGED(buf) ((buf)->text->end_unchanged) |
| 151 | 151 | ||
| 152 | #define BUF_CHARS_UNCHANGED_MODIFIED(buf) \ | ||
| 153 | ((buf)->text->chars_unchanged_modified) | ||
| 154 | |||
| 155 | #define UNCHANGED_MODIFIED \ | 152 | #define UNCHANGED_MODIFIED \ |
| 156 | BUF_UNCHANGED_MODIFIED (current_buffer) | 153 | BUF_UNCHANGED_MODIFIED (current_buffer) |
| 157 | #define OVERLAY_UNCHANGED_MODIFIED \ | 154 | #define OVERLAY_UNCHANGED_MODIFIED \ |
| 158 | BUF_OVERLAY_UNCHANGED_MODIFIED (current_buffer) | 155 | BUF_OVERLAY_UNCHANGED_MODIFIED (current_buffer) |
| 159 | #define BEG_UNCHANGED BUF_BEG_UNCHANGED (current_buffer) | 156 | #define BEG_UNCHANGED BUF_BEG_UNCHANGED (current_buffer) |
| 160 | #define END_UNCHANGED BUF_END_UNCHANGED (current_buffer) | 157 | #define END_UNCHANGED BUF_END_UNCHANGED (current_buffer) |
| 161 | |||
| 162 | #define CHARS_UNCHANGED_MODIFIED \ | ||
| 163 | BUF_CHARS_UNCHANGED_MODIFIED (current_buffer) | ||
| 164 | 158 | ||
| 165 | /* Functions to set PT in the current buffer, or another buffer. */ | 159 | /* Functions to set PT in the current buffer, or another buffer. */ |
| 166 | 160 | ||
| @@ -274,11 +268,6 @@ struct buffer_text | |||
| 274 | end_unchanged contain no useful information. */ | 268 | end_unchanged contain no useful information. */ |
| 275 | modiff_count overlay_unchanged_modified; | 269 | modiff_count overlay_unchanged_modified; |
| 276 | 270 | ||
| 277 | /* CHARS_MODIFF as of last redisplay that finished. It's used | ||
| 278 | when we only care about changes in actual buffer text, not in | ||
| 279 | any other kind of changes, like properties etc. */ | ||
| 280 | modiff_count chars_unchanged_modified; | ||
| 281 | |||
| 282 | /* Properties of this buffer's text. */ | 271 | /* Properties of this buffer's text. */ |
| 283 | INTERVAL intervals; | 272 | INTERVAL intervals; |
| 284 | 273 | ||