Skip to content

Commit

Permalink
rtags.el: looking-back requires at least to arguments in emacs 25
Browse files Browse the repository at this point in the history
  • Loading branch information
casch-at committed May 22, 2016
1 parent 4f8468d commit 35b21ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtags.el
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@ This includes both declarations and definitions."
((let ((sym (thing-at-point 'symbol)))
(and sym (+ start (length sym)))))
(t (1+ start))))
(when (looking-back "#")
(when (looking-back "#" (point-at-bol))
(decf start))
(let ((overlay (make-overlay start (if (= start end)
(min (1+ start) (point-max))
Expand Down

0 comments on commit 35b21ae

Please sign in to comment.