diff options
| -rw-r--r-- | lisp/add-log.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 45d1893e0c0..ef0e83dbca1 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -355,10 +355,11 @@ Runs `change-log-mode-hook'." | |||
| 355 | "Fill the paragraph, but preserve open parentheses at beginning of lines. | 355 | "Fill the paragraph, but preserve open parentheses at beginning of lines. |
| 356 | Prefix arg means justify as well." | 356 | Prefix arg means justify as well." |
| 357 | (interactive "P") | 357 | (interactive "P") |
| 358 | (let ((end (save-excursion (forward-paragraph) (point))) | 358 | (let ((end (progn (forward-paragraph) (point))) |
| 359 | (beg (save-excursion (backward-paragraph)(point))) | 359 | (beg (progn (backward-paragraph) (point))) |
| 360 | (paragraph-start (concat paragraph-start "\\|\\s *\\s("))) | 360 | (paragraph-start (concat paragraph-start "\\|\\s *\\s("))) |
| 361 | (fill-region beg end justify))) | 361 | (fill-region beg end justify) |
| 362 | t)) | ||
| 362 | 363 | ||
| 363 | (defvar add-log-current-defun-header-regexp | 364 | (defvar add-log-current-defun-header-regexp |
| 364 | "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[-_a-zA-Z]+\\)[ \t]*[:=]" | 365 | "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[-_a-zA-Z]+\\)[ \t]*[:=]" |