[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/buffer.h,v
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/buffer.h,v |
Date: |
Thu, 07 Feb 2008 12:46:30 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Jan Djärv <jhd> 08/02/07 12:46:29
Index: buffer.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/buffer.h,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -b -r1.116 -r1.117
--- buffer.h 1 Feb 2008 16:00:53 -0000 1.116
+++ buffer.h 7 Feb 2008 12:46:29 -0000 1.117
@@ -266,7 +266,7 @@
and store the charpos in CHARPOS and the bytepos in BYTEPOS. */
#define DECODE_POSITION(charpos, bytepos, pos) \
-if (1) \
+do \
{ \
Lisp_Object __pos = (pos); \
if (NUMBERP (__pos)) \
@@ -282,7 +282,7 @@
else \
wrong_type_argument (Qinteger_or_marker_p, __pos); \
} \
-else
+while (0)
/* Return the address of byte position N in current buffer. */
- [Emacs-diffs] Changes to emacs/src/buffer.h,v, Miles Bader, 2008/02/01
- [Emacs-diffs] Changes to emacs/src/buffer.h,v,
Jan Djärv <=
- [Emacs-diffs] Changes to emacs/src/buffer.h,v, Eli Zaretskii, 2008/02/09
- [Emacs-diffs] Changes to emacs/src/buffer.h,v, Stefan Monnier, 2008/02/11
- [Emacs-diffs] Changes to emacs/src/buffer.h,v, Stefan Monnier, 2008/02/26