Commit 7e9b0c96 authored by Roland McGrath's avatar Roland McGrath
Browse files

*** empty log message ***

parent d1ed4475
......@@ -239,7 +239,10 @@ Has a preference of looking backwards."
((and (or (eq major-mode 'c-mode)
(eq major-mode 'c++-mode))
(save-excursion (beginning-of-line)
(while (= (char-after (- (point) 2)) ?\\)
;; Use eq instead of = here to avoid
;; error when at bob and char-after
;; returns nil.
(while (eq (char-after (- (point) 2)) ?\\)
(forward-line -1))
(looking-at "[ \t]*#[ \t]*define[ \t]")))
;; Handle a C macro definition.
......
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