aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorMiles Bader2007-10-15 05:03:21 +0000
committerMiles Bader2007-10-15 05:03:21 +0000
commit63655c83146b773b4ef3d9220b4a9d61545fd050 (patch)
tree2161d262bba2c99b0db2ed8b322eddcafeadd247 /src/window.c
parentce8f7ca45fabe11ce32a9ced2b8e7c1987c0d997 (diff)
parentb2529d56b5126319a1659dc1530d6fc102cc21d6 (diff)
downloademacs-63655c83146b773b4ef3d9220b4a9d61545fd050.tar.gz
emacs-63655c83146b773b4ef3d9220b4a9d61545fd050.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 887-889) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 116-121) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index c51649679da..2fd4d286eba 100644
--- a/src/window.c
+++ b/src/window.c
@@ -799,7 +799,7 @@ coordinates_in_window (w, x, y)
799 if (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w) 799 if (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w)
800 || WINDOW_RIGHTMOST_P (w)) 800 || WINDOW_RIGHTMOST_P (w))
801 { 801 {
802 if (!WINDOW_LEFTMOST_P (w) && abs (*x - x0) < grabbable_width) 802 if (!WINDOW_LEFTMOST_P (w) && eabs (*x - x0) < grabbable_width)
803 { 803 {
804 /* Convert X and Y to window relative coordinates. 804 /* Convert X and Y to window relative coordinates.
805 Vertical border is at the left edge of window. */ 805 Vertical border is at the left edge of window. */
@@ -810,7 +810,7 @@ coordinates_in_window (w, x, y)
810 } 810 }
811 else 811 else
812 { 812 {
813 if (abs (*x - x1) < grabbable_width) 813 if (eabs (*x - x1) < grabbable_width)
814 { 814 {
815 /* Convert X and Y to window relative coordinates. 815 /* Convert X and Y to window relative coordinates.
816 Vertical border is at the right edge of window. */ 816 Vertical border is at the right edge of window. */
@@ -858,7 +858,7 @@ coordinates_in_window (w, x, y)
858 if (!w->pseudo_window_p 858 if (!w->pseudo_window_p
859 && !WINDOW_HAS_VERTICAL_SCROLL_BAR (w) 859 && !WINDOW_HAS_VERTICAL_SCROLL_BAR (w)
860 && !WINDOW_RIGHTMOST_P (w) 860 && !WINDOW_RIGHTMOST_P (w)
861 && (abs (*x - right_x) < grabbable_width)) 861 && (eabs (*x - right_x) < grabbable_width))
862 { 862 {
863 /* Convert X and Y to window relative coordinates. 863 /* Convert X and Y to window relative coordinates.
864 Vertical border is at the right edge of window. */ 864 Vertical border is at the right edge of window. */
@@ -5497,7 +5497,7 @@ scroll_command (n, direction)
5497{ 5497{
5498 int count = SPECPDL_INDEX (); 5498 int count = SPECPDL_INDEX ();
5499 5499
5500 xassert (abs (direction) == 1); 5500 xassert (eabs (direction) == 1);
5501 5501
5502 /* If selected window's buffer isn't current, make it current for 5502 /* If selected window's buffer isn't current, make it current for
5503 the moment. But don't screw up if window_scroll gets an error. */ 5503 the moment. But don't screw up if window_scroll gets an error. */