Function: tramp-debug-message-buttonize

tramp-debug-message-buttonize is a byte-compiled function defined in tramp-message.el.gz.

Signature

(tramp-debug-message-buttonize POSITION)

Documentation

Buttonize function in current buffer, at next line starting after POSITION.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-message.el.gz
(defun tramp-debug-message-buttonize (position)
  "Buttonize function in current buffer, at next line starting after POSITION."
  (declare (tramp-suppress-trace t))
  (save-excursion
    (goto-char position)
    (while (not (search-forward-regexp
		 tramp-debug-outline-regexp (line-end-position) t))
      (forward-line))
    (let ((fun (intern (match-string 2))))
      (make-text-button
       (match-beginning 2) (match-end 2)
       :type 'help-function-def
       'help-args (list fun (symbol-file fun))))))