(require 'fuel-eval)
(require 'fuel-base)
(require 'factor-mode)
+(require 'xref)
(require 'etags)
(if (and (not arg) (factor-on-vocab))
(fuel-edit-vocabulary nil word)
(fuel-edit--try-edit (fuel-eval--send/wait cmd)))
- (when marker (ring-insert find-tag-marker-ring marker))))
+ (when marker (xref-push-marker-stack marker))))
(defun fuel-edit-word-doc-at-point (&optional arg word)
"Opens a new window visiting the documentation file for the word at point.
(y-or-n-p (concat "No documentation found. "
"Do you want to open the vocab's "
"doc file? ")))
- (when marker (ring-insert find-tag-marker-ring marker))
+ (when marker (xref-push-marker-stack marker))
(find-file-other-window
(format "%s-docs.factor"
(file-name-sans-extension (buffer-file-name)))))))))