Newbie here, but oddly I couldn't find an answer to this by Googling. How do I clear all marks from the current buffer? I did find how to view the mark ring, but not how to clear all marks from current buffer.

1 Answer 1

M-: (setq mark-ring  ())

That is, just set variable mark-ring to nil.

  • Someone care to explain the downvote?
    – Drew
    21 hours ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.