Function: trace--insert

trace--insert is a byte-compiled function defined in trace.el.gz.

Signature

(trace--insert MSG)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/trace.el.gz
(defun trace--insert (msg)
  (if noninteractive
      (message "%s" (if (eq ?\n (aref msg (1- (length msg))))
                        (substring msg 0 -1) msg))
    (with-current-buffer trace-buffer
      (setq-local window-point-insertion-type t)
      (goto-char (point-max))
      (let ((deactivate-mark nil))      ;Protect deactivate-mark.
        (insert msg)))))