summaryrefslogtreecommitdiff
path: root/src/intervals.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-13 07:39:07 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-13 07:39:07 +0400
commit4c31be6153255dfe29a0231253263ea0d9011ac3 (patch)
treecfd30617b9270436aad8cdf810a97721aaa20747 /src/intervals.c
parent1439443be63a2b0d796df8ebca882cdaecb7269f (diff)
downloademacs-4c31be6153255dfe29a0231253263ea0d9011ac3.tar.gz
Use BSET for write access to Lisp_Object members of struct buffer.
* buffer.h (BSET): New macro. * buffer.c, casetab.c, cmds.c, coding.c, data.c, editfns.c: * fileio.c, frame.c, indent.c, insdel.c, intervals.c, keymap.c: * minibuf.c, print.c, process.c, syntax.c, undo.c, w32fns.c: * window.c, xdisp.c, xfns.c: Adjust users.
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c
index c3bcdb1ae62..145882f6146 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1858,7 +1858,7 @@ set_point_both (ptrdiff_t charpos, ptrdiff_t bytepos)
int have_overlays;
ptrdiff_t original_position;
- BVAR (current_buffer, point_before_scroll) = Qnil;
+ BSET (current_buffer, point_before_scroll, Qnil);
if (charpos == PT)
return;