"Return the list of URLs in the buffer after (point).
The 1st element is the one named 'Link', if any."
(let ((pt (point)) urls link)
- (while (progn (widget-move 1)
+ (while (progn (widget-move 1 t) ; no echo
;; `widget-move' wraps around to top of buffer.
(> (point) pt))
(setq pt (point))
"If non-nil, use overlay change functions to tab around in the buffer.
This is much faster.")
-(defun widget-move (arg)
+(defun widget-move (arg &optional suppress-echo)
"Move point to the ARG next field or button.
-ARG may be negative to move backward."
+ARG may be negative to move backward.
+When the second optional argument is non-nil,
+nothing is shown in the echo area."
(or (bobp) (> arg 0) (backward-char))
(let ((wrapped 0)
(number arg)
(while (eq (widget-tabable-at) new)
(backward-char)))
(forward-char))
- (widget-echo-help (point))
+ (unless suppress-echo
+ (widget-echo-help (point)))
(run-hooks 'widget-move-hook))
(defun widget-forward (arg)