]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/textmodes/paragraphs.el (multiple-lines): Remove mistaken declaration
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 Apr 2021 13:47:46 +0000 (09:47 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 Apr 2021 13:47:46 +0000 (09:47 -0400)
(forward-paragraph): Remove unused var `multiple-lines`.

lisp/textmodes/paragraphs.el

index 31e91c7303100160b7cf3740158a5889fe29f122..59b15e82a8185823c4cb5c3ae5b4416719845adf 100644 (file)
@@ -202,8 +202,6 @@ This is desirable in modes where blank lines are the paragraph delimiters."
 (put 'paragraph-ignore-fill-prefix 'safe-local-variable #'booleanp)
 
 ;; Silence the compiler.
-(defvar multiple-lines)
-
 (defun forward-paragraph (&optional arg)
   "Move forward to end of paragraph.
 With argument ARG, do it ARG times;
@@ -262,13 +260,13 @@ Returns the count of paragraphs left to move."
          ;; Search back for line that starts or separates paragraphs.
          (if (if fill-prefix-regexp
                  ;; There is a fill prefix; it overrides parstart.
-                 (let (multiple-lines)
+                 (let () ;; multiple-lines
                    (while (and (progn (beginning-of-line) (not (bobp)))
                                (progn (move-to-left-margin)
                                       (not (looking-at parsep)))
                                (looking-at fill-prefix-regexp))
-                     (unless (= (point) start)
-                       (setq multiple-lines t))
+                     ;; (unless (= (point) start)
+                     ;;   (setq multiple-lines t))
                      (forward-line -1))
                    (move-to-left-margin)
                    ;; This deleted code caused a long hanging-indent line