Advertisement
mark-naylor-1701

reset yank pointer

Nov 17th, 2024
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.25 KB | None | 0 0
  1. (defun reset-yank-pointer ()
  2.   "Yank pointer gets out of whack, hard to get back to the head of the
  3. kill-ring. Reset the yank pointer to the kill-ring."
  4.   (interactive)
  5.   (setq kill-ring-yank-pointer kill-ring))
  6.  
  7. (defalias 'ryp #'reset-yank-pointer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement