summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index a1d838c037d..a75d81bfd4a 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -71,6 +71,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Now similar macros for a specified buffer.
Note that many of these evaluate the buffer argument more than once. */
+#define BUF_SET_PT(buffer, position) (buffer->text.pt = (position))
+
/* Character position of beginning of buffer. */
#define BUF_BEG(buf) (1)