projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e136c5
)
Skip over whitespace in annotation-top-cont check (bug#63141)
author
Theodor Thornhill
<theo@thornhill.no>
Fri, 28 Apr 2023 12:00:35 +0000
(14:00 +0200)
committer
Theodor Thornhill
<theo@thornhill.no>
Fri, 28 Apr 2023 12:00:57 +0000
(14:00 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/csharp-mode.el
b/lisp/progmodes/csharp-mode.el
index 47cd13e7fdbd6492f5850ec2362fa9f9165f1944..4f7cbc3d51d5a0160f2cfdf678952c31248b5b53 100644
(file)
--- 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) ?\])