Mercurial > emacs
comparison src/indent.c @ 51838:d0e8a670d28d
(current_column): Use new type for overlays_(before|after).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 09 Jul 2003 14:50:21 +0000 |
parents | 22a5614b558f |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
51837:87ec975874ab | 51838:d0e8a670d28d |
---|---|
1 /* Indentation functions. | 1 /* Indentation functions. |
2 Copyright (C) 1985,86,87,88,93,94,95,98, 2000, 2001, 2002 | 2 Copyright (C) 1985,86,87,88,93,94,95,98,2000,01,02,2003 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GNU Emacs. | 5 This file is part of GNU Emacs. |
6 | 6 |
7 GNU Emacs is free software; you can redistribute it and/or modify | 7 GNU Emacs is free software; you can redistribute it and/or modify |
372 return last_known_column; | 372 return last_known_column; |
373 | 373 |
374 /* If the buffer has overlays, text properties, | 374 /* If the buffer has overlays, text properties, |
375 or multibyte characters, use a more general algorithm. */ | 375 or multibyte characters, use a more general algorithm. */ |
376 if (BUF_INTERVALS (current_buffer) | 376 if (BUF_INTERVALS (current_buffer) |
377 || !NILP (current_buffer->overlays_before) | 377 || current_buffer->overlays_before |
378 || !NILP (current_buffer->overlays_after) | 378 || current_buffer->overlays_after |
379 || Z != Z_BYTE) | 379 || Z != Z_BYTE) |
380 return current_column_1 (); | 380 return current_column_1 (); |
381 | 381 |
382 /* Scan backwards from point to the previous newline, | 382 /* Scan backwards from point to the previous newline, |
383 counting width. Tab characters are the only complicated case. */ | 383 counting width. Tab characters are the only complicated case. */ |