Function: command-completion-button-p

command-completion-button-p is a byte-compiled function defined in simple.el.gz.

Signature

(command-completion-button-p CATEGORY BUFFER)

Documentation

Return non-nil if there's a button of CATEGORY at point in BUFFER.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun command-completion-button-p (category buffer)
  "Return non-nil if there's a button of CATEGORY at point in BUFFER."
  (with-current-buffer buffer
    (and (get-text-property (point) 'button)
         (eq (get-text-property (point) 'category) category))))