aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorEli Zaretskii2007-10-13 12:48:57 +0000
committerEli Zaretskii2007-10-13 12:48:57 +0000
commit1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d (patch)
tree5ff3410aecc837cec234cc3bb8f463a0b00de8eb /src/window.c
parent555b10b098c1f9a0450e385d291386caae1dda4f (diff)
downloademacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.tar.gz
emacs-1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d.zip
Replace `abs' with `eabs'.
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 bd1f55b1648..efdf309121b 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. */