diff options
| author | Stefan Monnier | 2001-11-03 00:55:10 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-11-03 00:55:10 +0000 |
| commit | 6d1f0a5ea92a494b45adfde8db97bbb914f14a17 (patch) | |
| tree | 8d817b031014f18aaac4f72656fd097219c781ef | |
| parent | 24790d0c3e005ec41733e53f7bb15e985e3b74d5 (diff) | |
| download | emacs-6d1f0a5ea92a494b45adfde8db97bbb914f14a17.tar.gz emacs-6d1f0a5ea92a494b45adfde8db97bbb914f14a17.zip | |
(fill-context-prefix): Fix braino.
| -rw-r--r-- | lisp/textmodes/fill.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index afe493b5591..dedceb730b6 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el | |||
| @@ -200,12 +200,12 @@ act as a paragraph-separator." | |||
| 200 | (goto-char from) | 200 | (goto-char from) |
| 201 | (if (eolp) (forward-line 1)) | 201 | (if (eolp) (forward-line 1)) |
| 202 | ;; Move to the second line unless there is just one. | 202 | ;; Move to the second line unless there is just one. |
| 203 | (move-to-left-margin) | ||
| 203 | (let ((firstline (point)) | 204 | (let ((firstline (point)) |
| 204 | first-line-prefix | 205 | first-line-prefix |
| 205 | ;; Non-nil if we are on the second line. | 206 | ;; Non-nil if we are on the second line. |
| 206 | second-line-prefix | 207 | second-line-prefix |
| 207 | start) | 208 | start) |
| 208 | (move-to-left-margin) | ||
| 209 | (setq start (point)) | 209 | (setq start (point)) |
| 210 | (setq first-line-prefix | 210 | (setq first-line-prefix |
| 211 | ;; We don't need to consider `paragraph-start' here since it | 211 | ;; We don't need to consider `paragraph-start' here since it |
| @@ -238,7 +238,7 @@ act as a paragraph-separator." | |||
| 238 | ;; Used when first line is `/* ...' and second-line is | 238 | ;; Used when first line is `/* ...' and second-line is |
| 239 | ;; ` * ...'. | 239 | ;; ` * ...'. |
| 240 | (save-excursion | 240 | (save-excursion |
| 241 | (goto-char start) | 241 | (goto-char firstline) |
| 242 | (looking-at | 242 | (looking-at |
| 243 | (apply 'concat | 243 | (apply 'concat |
| 244 | (mapcar (lambda (c) | 244 | (mapcar (lambda (c) |