   (run-hooks 'rtags-mode-hook)
   (goto-char (point-min))
   (setq next-error-function 'rtags-next-prev-match)
-  (when rtags-highlight-current-line
-    (let ((overlay (make-overlay (point-at-bol) (point-at-eol) (current-buffer))))
-      (overlay-put overlay 'face 'rtags-current-line)
-      (setq-local rtags-current-line-overlay overlay)))
+  (rtags-init-current-line-overlay)
   (setq buffer-read-only t))
 
 (defun rtags-wrap-word (word)

  (setq mode-name "rtags-references-tree-mode")
  (use-local-map rtags-references-tree-mode-map)
  (goto-char (point-min))
  (setq buffer-read-only t))

(defun rtags-reset-bookmarks ()

              (path nil)
              (default-directory (push (concat "--current-file=" (rtags-untrampify default-directory)) arguments))
              (t nil))

        (when rtags-socket-file
          (push (concat "-n" (expand-file-name rtags-socket-file)) arguments))

        (when rtags-rc-log-enabled
          (rtags-log (concat rc " " (rtags-combine-strings arguments))))
