1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix URL-related typos in comments and messages

* lisp/ffap.el (ffap-next): Fix typo in message.
* lisp/finder.el (finder-commentary): Fix typo in comment.
This commit is contained in:
Lars Ingebrigtsen 2022-04-06 09:27:32 +02:00
parent 78ecd67888
commit 069e0ba9f3
2 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@
;; (setq ffap-shell-prompt-regexp nil) ; disable shell prompt stripping
;; (setq ffap-gopher-regexp nil) ; disable gopher bookmark matching
;;
;; ffap uses `browse-url' (if found, else `w3-fetch') to fetch URL's.
;; ffap uses `browse-url' (if found, else `w3-fetch') to fetch URLs.
;; For a hairier `ffap-url-fetcher', try ffap-url.el (same ftp site).
;; Also, you can add `ffap-menu-rescan' to various hooks to fontify
;; the file and URL references within a buffer.
@ -282,7 +282,7 @@ For a fancy alternative, get `ffap-url.el'."
:risky t)
(defcustom ffap-next-regexp
;; If you want ffap-next to find URL's only, try this:
;; If you want ffap-next to find URLs only, try this:
;; (and ffap-url-regexp (string-match "\\\\`" ffap-url-regexp)
;; (concat "\\<" (substring ffap-url-regexp 2))))
;;
@ -315,7 +315,7 @@ disable ffap most of the time."
;;; Find Next Thing in buffer (`ffap-next'):
;;
;; Original ffap-next-url (URL's only) from RPECK 30 Mar 1995. Since
;; Original ffap-next-url (URLs only) from RPECK 30 Mar 1995. Since
;; then, broke it up into ffap-next-guess (noninteractive) and
;; ffap-next (a command). It now work on files as well as url's.
@ -363,7 +363,7 @@ Actual search is done by the function `ffap-next-guess'."
(sit-for 0) ; display point movement
(find-file-at-point (ffap-prompter guess)))
(goto-char pt) ; restore point
(message "No %sfiles or URL's found"
(message "No %sfiles or URLs found"
(if wrap "" "more ")))))
(defun ffap-next-url (&optional back wrap)

View file

@ -367,7 +367,7 @@ not `finder-known-keywords'."
"Display FILE's commentary section.
FILE should be in a form suitable for passing to `locate-library'."
;; FIXME: Merge this function into `describe-package', which is
;; strictly better as it has links to URL's and is in a proper help
;; strictly better as it has links to URLs and is in a proper help
;; buffer with navigation forward and backward, etc.
(interactive
(list