Mercurial > emacs
comparison src/indent.c @ 21514:fa9ff387d260
Fix -Wimplicit warnings.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Tue, 14 Apr 1998 12:25:56 +0000 |
parents | 6ec5e85328a9 |
children | 0ed9ea6eeef3 |
comparison
equal
deleted
inserted
replaced
21513:984881b316fc | 21514:fa9ff387d260 |
---|---|
677 XSETINT (column, mincol); | 677 XSETINT (column, mincol); |
678 return column; | 678 return column; |
679 } | 679 } |
680 | 680 |
681 | 681 |
682 static int position_indentation P_ ((int)); | |
683 | |
682 DEFUN ("current-indentation", Fcurrent_indentation, Scurrent_indentation, | 684 DEFUN ("current-indentation", Fcurrent_indentation, Scurrent_indentation, |
683 0, 0, 0, | 685 0, 0, 0, |
684 "Return the indentation of the current line.\n\ | 686 "Return the indentation of the current line.\n\ |
685 This is the horizontal position of the character\n\ | 687 This is the horizontal position of the character\n\ |
686 following any initial whitespace.") | 688 following any initial whitespace.") |
1787 return make_number (pos.vpos); | 1789 return make_number (pos.vpos); |
1788 } | 1790 } |
1789 | 1791 |
1790 /* file's initialization. */ | 1792 /* file's initialization. */ |
1791 | 1793 |
1794 void | |
1792 syms_of_indent () | 1795 syms_of_indent () |
1793 { | 1796 { |
1794 DEFVAR_BOOL ("indent-tabs-mode", &indent_tabs_mode, | 1797 DEFVAR_BOOL ("indent-tabs-mode", &indent_tabs_mode, |
1795 "*Indentation can insert tabs if this is non-nil.\n\ | 1798 "*Indentation can insert tabs if this is non-nil.\n\ |
1796 Setting this variable automatically makes it local to the current buffer."); | 1799 Setting this variable automatically makes it local to the current buffer."); |