aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval.c8
-rw-r--r--src/indent.c11
2 files changed, 13 insertions, 6 deletions
diff --git a/src/eval.c b/src/eval.c
index e82fba1559e..a030ff8b700 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1,5 +1,5 @@
1/* Evaluator for GNU Emacs Lisp interpreter. 1/* Evaluator for GNU Emacs Lisp interpreter.
2 Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -1837,7 +1837,11 @@ Thus, (funcall 'cons 'x 'y) returns (x . y).")
1837 goto done; 1837 goto done;
1838 1838
1839 default: 1839 default:
1840 error ("funcall: this number of args not handled."); 1840
1841 /* If a subr takes more than 6 arguments without using MANY
1842 or UNEVALLED, we need to extend this function to support it.
1843 Until this is done, there is no way to call the function. */
1844 abort ();
1841 } 1845 }
1842 } 1846 }
1843 if (XTYPE (fun) == Lisp_Compiled) 1847 if (XTYPE (fun) == Lisp_Compiled)
diff --git a/src/indent.c b/src/indent.c
index f87ca13192a..977383d3b40 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1,5 +1,5 @@
1/* Indentation functions. 1/* Indentation functions.
2 Copyright (C) 1985, 1986, 1987, 1988 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1987, 1988, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -344,10 +344,13 @@ and if COLUMN is in the middle of a tab character, change it to spaces.")
344 and scan through it again. */ 344 and scan through it again. */
345 if (!NILP (force) && col > goal && c == '\t' && prev_col < goal) 345 if (!NILP (force) && col > goal && c == '\t' && prev_col < goal)
346 { 346 {
347 int old_point;
348
347 del_range (point - 1, point); 349 del_range (point - 1, point);
348 Findent_to (make_number (col - 1)); 350 Findent_to (make_number (goal), Qnil);
349 insert_char (' '); 351 old_point = point;
350 goto retry; 352 Findent_to (make_number (col), Qnil);
353 SET_PT (old_point);
351 } 354 }
352 355
353 /* If line ends prematurely, add space to the end. */ 356 /* If line ends prematurely, add space to the end. */