Function: backward-button

backward-button is an interactive and byte-compiled function defined in button.el.gz.

Signature

(backward-button N &optional WRAP DISPLAY-MESSAGE NO-ERROR)

Documentation

Move to the Nth previous button, or Nth next button if N is negative.

If N is 0, move to the start of any button at point. If WRAP is non-nil, moving past either end of the buffer continues from the other end. If DISPLAY-MESSAGE is non-nil, the button's help-echo property is displayed. Any button with a non-nil skip property is skipped over.

If NO-ERROR, return nil if no further buttons could be found instead of erroring out.

Returns the button found.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/button.el.gz
(defun backward-button (n &optional wrap display-message no-error)
  "Move to the Nth previous button, or Nth next button if N is negative.
If N is 0, move to the start of any button at point.
If WRAP is non-nil, moving past either end of the buffer continues from the
other end.
If DISPLAY-MESSAGE is non-nil, the button's `help-echo' property
is displayed.  Any button with a non-nil `skip' property is
skipped over.

If NO-ERROR, return nil if no further buttons could be found
instead of erroring out.

Returns the button found."
  (interactive "p\nd\nd")
  (forward-button (- n) wrap display-message no-error))