Function: world-clock-copy-time-as-kill

world-clock-copy-time-as-kill is an interactive and byte-compiled function defined in time.el.gz.

Signature

(world-clock-copy-time-as-kill)

Documentation

Copy current line into the kill ring.

Probably introduced at or before Emacs version 29.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/time.el.gz
(defun world-clock-copy-time-as-kill ()
  "Copy current line into the kill ring."
  (interactive nil world-clock-mode)
  (when-let* ((str (buffer-substring-no-properties (pos-bol) (pos-eol))))
    (kill-new str)
    (message str)))