summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/smie.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/smie.el')
-rw-r--r--lisp/emacs-lisp/smie.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el
index 5382e601e67..cafa1942a09 100644
--- a/lisp/emacs-lisp/smie.el
+++ b/lisp/emacs-lisp/smie.el
@@ -1603,8 +1603,7 @@ to which that point should be aligned, if we were to reindent it.")
(indent-line-to indent)))))
(defun smie-auto-fill ()
- (let ((fc (current-fill-column))
- (try-again nil))
+ (let ((fc (current-fill-column)))
(while (and fc (> (current-column) fc))
(cond
((not (or (nth 8 (save-excursion
@@ -1628,7 +1627,6 @@ to which that point should be aligned, if we were to reindent it.")
(setq bsf (point))))
(smie-indent-forward-token))
(when (> gain 0)
- (setq try-again)
(goto-char bsf)
(newline-and-indent)))))
(t (do-auto-fill))))))