Function: ffap-copy-string-as-kill
ffap-copy-string-as-kill is an interactive and byte-compiled function
defined in ffap.el.gz.
Signature
(ffap-copy-string-as-kill &optional MODE)
Documentation
Call function ffap-string-at-point(var)/ffap-string-at-point(fun), and copy result to kill-ring.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ffap.el.gz
(defun ffap-copy-string-as-kill (&optional mode)
;; Requested by MCOOK. Useful?
"Call function `ffap-string-at-point', and copy result to `kill-ring'."
(interactive)
(let ((str (ffap-string-at-point mode)))
(if (equal "" str)
(message "No string found around point.")
(kill-new str)
;; Older: (apply 'copy-region-as-kill ffap-string-at-point-region)
(message "Copied to kill ring: %s" str))))