Function: kimport:insert-register
kimport:insert-register is an autoloaded, interactive and
byte-compiled function defined in kimport.el.
Signature
(kimport:insert-register REGISTER &optional ARG)
Documentation
Insert contents of register REGISTER at point in current cell.
REGISTER is a character naming the register to insert. Normally puts point before and mark after the inserted text. If optional second arg is non-nil, puts mark before and point after. Interactively, second arg is non-nil if prefix ARG is supplied.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kimport.el
;;;###autoload
(defun kimport:insert-register (register &optional arg)
"Insert contents of register REGISTER at point in current cell.
REGISTER is a character naming the register to insert.
Normally puts point before and mark after the inserted text.
If optional second arg is non-nil, puts mark before and point after.
Interactively, second arg is non-nil if prefix ARG is supplied."
(interactive "*cInsert register: \nP")
(push-mark)
(let ((val (get-register register)))
(cond ((consp val)
(insert-rectangle val))
((stringp val)
(insert val)
(kotl-mode:add-indent-to-region))
((integerp val)
(princ val (current-buffer)))
((and (markerp val) (marker-position val))
(princ (marker-position val) (current-buffer)))
(t
(error "Register `%c' does not contain text" register))))
(unless arg
;; Do want to activate the mark here.
(exchange-point-and-mark)))