X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/5817fe1ff1059fd505dc5e6d5171f545866bee91..79a8b16d5b02da670508f4f719689f4a29e8de0d:/packages/ada-mode/ada-mode.el diff --git a/packages/ada-mode/ada-mode.el b/packages/ada-mode/ada-mode.el index 3fca118d9..8fb112a49 100644 --- a/packages/ada-mode/ada-mode.el +++ b/packages/ada-mode/ada-mode.el @@ -2598,8 +2598,8 @@ If POSTFIX and JUSTIFY are non-nil, `ada-fill-comment-postfix' is appended to each line filled and justified. The paragraph is indented on the first line." (interactive "P") - (if (and (not (ada-in-comment-p)) - (not (looking-at "[ \t]*--"))) + (if (not (or (ada-in-comment-p) + (looking-at "[ \t]*--"))) (error "Not inside comment")) ;; fill-region-as-paragraph leaves comment text exposed (without