mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
This commit is contained in:
parent
183952e518
commit
85c3e1be24
1 changed files with 3 additions and 3 deletions
|
|
@ -279,9 +279,9 @@ backward."
|
|||
(defvar xref--marker-ring (make-ring xref-marker-ring-length)
|
||||
"Ring of markers to implement the marker stack.")
|
||||
|
||||
(defun xref-push-marker-stack ()
|
||||
"Add point to the marker stack."
|
||||
(ring-insert xref--marker-ring (point-marker)))
|
||||
(defun xref-push-marker-stack (&optional m)
|
||||
"Add point M (defaults to `point-marker') to the marker stack."
|
||||
(ring-insert xref--marker-ring (or m (point-marker))))
|
||||
|
||||
;;;###autoload
|
||||
(defun xref-pop-marker-stack ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue