diff options
| author | Stefan Kangas | 2022-07-31 06:30:25 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-07-31 06:30:25 +0200 |
| commit | d9bd334ef367f3e16967ae2ed714ff419f2b5328 (patch) | |
| tree | e08882a1e9ec3c67c175a6e3dd63ef7f5e7f6d1f /src/indent.c | |
| parent | 3d6af11c42453065d5ace1223fe99228b7927318 (diff) | |
| parent | eb11dae499fc395bbf3d51883ced6244c91019cf (diff) | |
| download | emacs-d9bd334ef367f3e16967ae2ed714ff419f2b5328.tar.gz emacs-d9bd334ef367f3e16967ae2ed714ff419f2b5328.zip | |
Merge from origin/emacs-28
eb11dae499 Improve documentation of column-related functions
c95a34c960 * src/macfont.m (macfont_open): Initialize font->space_wid...
31a6a37d45 Improve indexing of keymap variables
Diffstat (limited to 'src/indent.c')
| -rw-r--r-- | src/indent.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index e90e3fde203..fd2e7636656 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -882,8 +882,10 @@ The return value is the column where the insertion ends. */) | |||
| 882 | DEFUN ("current-indentation", Fcurrent_indentation, Scurrent_indentation, | 882 | DEFUN ("current-indentation", Fcurrent_indentation, Scurrent_indentation, |
| 883 | 0, 0, 0, | 883 | 0, 0, 0, |
| 884 | doc: /* Return the indentation of the current line. | 884 | doc: /* Return the indentation of the current line. |
| 885 | This is the horizontal position of the character | 885 | This is the horizontal position of the character following any initial |
| 886 | following any initial whitespace. */) | 886 | whitespace. |
| 887 | Text that has an invisible property is considered as having width 0, unless | ||
| 888 | `buffer-invisibility-spec' specifies that it is replaced by an ellipsis. */) | ||
| 887 | (void) | 889 | (void) |
| 888 | { | 890 | { |
| 889 | ptrdiff_t posbyte; | 891 | ptrdiff_t posbyte; |
| @@ -1001,6 +1003,9 @@ as displayed of the previous characters in the line. | |||
| 1001 | This function ignores line-continuation; | 1003 | This function ignores line-continuation; |
| 1002 | there is no upper limit on the column number a character can have | 1004 | there is no upper limit on the column number a character can have |
| 1003 | and horizontal scrolling has no effect. | 1005 | and horizontal scrolling has no effect. |
| 1006 | Text that has an invisible property is considered as having width 0, | ||
| 1007 | unless `buffer-invisibility-spec' specifies that it is replaced by | ||
| 1008 | an ellipsis. | ||
| 1004 | 1009 | ||
| 1005 | If specified column is within a character, point goes after that character. | 1010 | If specified column is within a character, point goes after that character. |
| 1006 | If it's past end of line, point goes to end of line. | 1011 | If it's past end of line, point goes to end of line. |