Function: bookmark-yank-word

bookmark-yank-word is an interactive and byte-compiled function defined in bookmark.el.gz.

Signature

(bookmark-yank-word)

Documentation

Get the next word from buffer bookmark-current-buffer and append it to the name of the bookmark currently being set, advancing bookmark-yank-point by one word.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defun bookmark-yank-word ()
  "Get the next word from buffer `bookmark-current-buffer' and append
it to the name of the bookmark currently being set, advancing
`bookmark-yank-point' by one word."
  (interactive)
  (let ((string (with-current-buffer bookmark-current-buffer
                  (goto-char bookmark-yank-point)
                  (buffer-substring-no-properties
                   (point)
                   (progn
                     (forward-word 1)
                     (setq bookmark-yank-point (point)))))))
    (insert string)))