allow cycling completions in systemd-doc-open

This commit is contained in:
Mark Oteiza 2015-04-25 18:07:32 -04:00
parent ac11adf599
commit 50c63c23aa

View File

@ -124,7 +124,8 @@ as a list of strings, otherwise nil."
"Open URL. Interactively completes the documentation in the
current unit file, defaulting to the link under point, if any."
(interactive
(let* ((collection (systemd-doc-find))
(let* ((completion-cycle-threshold t)
(collection (systemd-doc-find))
(uri (or (thing-at-point-url-at-point)
(car-safe collection)))
(prompt (concat "URL"