Commit 3aa22e6e authored by Glenn Morris's avatar Glenn Morris
Browse files

Merge from origin/emacs-26

9877c032 (origin/emacs-26) Fix bug #33416, where typing a ) in a comme...
parents 0525b495 9877c032
Pipeline #138 failed with stage
in 21 minutes and 53 seconds
......@@ -1804,7 +1804,10 @@ Note that this is a strict tail, so won't match, e.g. \"0x....\".")
(c-syntactic-skip-backward "^;{}" bod-lim t)
(> (point) bod-lim)
(progn (c-forward-syntactic-ws)
(setq bo-decl (point))
;; Have we got stuck in a comment at EOB?
(not (and (eobp)
(progn (setq bo-decl (point))
(or (not (looking-at c-protection-key))
(c-forward-keyword-clause 1)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment