diff options
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 63b7ceb6ed0..052df4eedda 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -4355,7 +4355,7 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 4355 | fill-column) | 4355 | fill-column) |
| 4356 | (let ((c (save-excursion (beginning-of-line) | 4356 | (let ((c (save-excursion (beginning-of-line) |
| 4357 | (cperl-to-comment-or-eol) (point))) | 4357 | (cperl-to-comment-or-eol) (point))) |
| 4358 | (s (memq (following-char) '(?\ ?\t))) marker) | 4358 | (s (memq (following-char) '(?\s ?\t))) marker) |
| 4359 | (if (>= c (point)) | 4359 | (if (>= c (point)) |
| 4360 | ;; Don't break line inside code: only inside comment. | 4360 | ;; Don't break line inside code: only inside comment. |
| 4361 | nil | 4361 | nil |
| @@ -4366,11 +4366,11 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 4366 | (if (bolp) (progn (re-search-forward "#+[ \t]*") | 4366 | (if (bolp) (progn (re-search-forward "#+[ \t]*") |
| 4367 | (goto-char (match-end 0)))) | 4367 | (goto-char (match-end 0)))) |
| 4368 | ;; Following space could have gone: | 4368 | ;; Following space could have gone: |
| 4369 | (if (or (not s) (memq (following-char) '(?\ ?\t))) nil | 4369 | (if (or (not s) (memq (following-char) '(?\s ?\t))) nil |
| 4370 | (insert " ") | 4370 | (insert " ") |
| 4371 | (backward-char 1)) | 4371 | (backward-char 1)) |
| 4372 | ;; Previous space could have gone: | 4372 | ;; Previous space could have gone: |
| 4373 | (or (memq (preceding-char) '(?\ ?\t)) (insert " ")))))) | 4373 | (or (memq (preceding-char) '(?\s ?\t)) (insert " ")))))) |
| 4374 | 4374 | ||
| 4375 | (defun cperl-imenu-addback (lst &optional isback name) | 4375 | (defun cperl-imenu-addback (lst &optional isback name) |
| 4376 | ;; We suppose that the lst is a DAG, unless the first element only | 4376 | ;; We suppose that the lst is a DAG, unless the first element only |