emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ada-mode 6d77bd0 19/48: * packages/gnome-c-style/gnome-


From: Stefan Monnier
Subject: [elpa] externals/ada-mode 6d77bd0 19/48: * packages/gnome-c-style/gnome-c-tests.el: Add copyright blurb
Date: Mon, 30 Nov 2020 17:20:40 -0500 (EST)

branch: externals/ada-mode
commit 6d77bd0afba198cd19f394f1b2d95db52329b98c
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * packages/gnome-c-style/gnome-c-tests.el: Add copyright blurb
---
 ada-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ada-mode.el b/ada-mode.el
index 3fca118..8fb112a 100644
--- a/ada-mode.el
+++ b/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]