[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 1f2214dabd0: Skip over whitespace in annotation-top-cont check
From: |
Theodor Thornhill |
Subject: |
emacs-29 1f2214dabd0: Skip over whitespace in annotation-top-cont check (bug#63141) |
Date: |
Fri, 28 Apr 2023 08:01:07 -0400 (EDT) |
branch: emacs-29
commit 1f2214dabd012cfa730e60a88d73aded53a2f53b
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>
Skip over whitespace in annotation-top-cont check (bug#63141)
* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Make sure
we skip over whitespace when looking for the next '['.
---
lisp/progmodes/csharp-mode.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/csharp-mode.el b/lisp/progmodes/csharp-mode.el
index 47cd13e7fdb..4f7cbc3d51d 100644
--- a/lisp/progmodes/csharp-mode.el
+++ b/lisp/progmodes/csharp-mode.el
@@ -468,7 +468,10 @@ compilation and evaluation time conflicts."
(save-excursion
(goto-char (c-point 'iopl))
(and
- (eq (char-after) ?\[)
+ (eq (save-excursion
+ (skip-chars-forward " \t\n")
+ (char-after))
+ ?\[)
(save-excursion
(c-go-list-forward)
(and (eq (char-before) ?\])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 1f2214dabd0: Skip over whitespace in annotation-top-cont check (bug#63141),
Theodor Thornhill <=