]> code.delx.au - gnu-emacs/blobdiff - lisp/indent.el
* lisp/electric.el (electric-pair-pairs): New var.
[gnu-emacs] / lisp / indent.el
index 7116b705affb75ee39748f9c3c35f17d6868276c..e57d6068ef568721353f305f02b2ec150055abce 100644 (file)
@@ -68,6 +68,7 @@ The buffer-local variable `indent-line-function' determines how to do this,
 but the functions `indent-relative' and `indent-relative-maybe' are
 special; we don't actually use them here."
   (interactive)
+  (syntax-propertize (line-end-position))
   (if (memq indent-line-function
            '(indent-relative indent-relative-maybe))
       ;; These functions are used for tabbing, but can't be used for
@@ -418,7 +419,7 @@ column to indent to; if it is nil, use one of the three methods above."
            (goto-char start)
            (while (< (point) end)
              (or (and (bolp) (eolp))
-                 (funcall indent-line-function))
+                 (indent-according-to-mode))
              (forward-line 1))
            (move-marker end nil))))
     (setq column (prefix-numeric-value column))