aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2022-07-09 12:45:21 +0300
committerEli Zaretskii2022-07-09 12:45:21 +0300
commit6caade631ef9b80f751ce94d14252c1fb802fce0 (patch)
tree7ed949da1457c301eaef7313d7e97419ecb0e961
parentbab449f034f44657ff3ed1bf533be6a27f4dafd6 (diff)
downloademacs-6caade631ef9b80f751ce94d14252c1fb802fce0.tar.gz
emacs-6caade631ef9b80f751ce94d14252c1fb802fce0.zip
; Rename 'ffap--accept-or-reject-p'
* lisp/ffap.el (ffap-accept-or-reject-p): Renamed from 'ffap--accept-or-reject-p'; all users changed. Doc fix.
-rw-r--r--lisp/ffap.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 65e0779e400..d7225ee9c97 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -377,9 +377,10 @@ Actual search is done by the function `ffap-next-guess'."
377 377
378;;; Machines (`ffap-machine-p'): 378;;; Machines (`ffap-machine-p'):
379 379
380(defun ffap--accept-or-reject-p (symbol) 380(defun ffap-accept-or-reject-p (symbol)
381 "Return non-nil if SYMBOL is `accept' or `reject'. 381 "Return non-nil if SYMBOL is `accept' or `reject'.
382Otherwise, return nil." 382Otherwise, return nil. This is intended for use as the
383predicate in the `:safe' property of user options."
383 (memq symbol '(accept reject))) 384 (memq symbol '(accept reject)))
384 385
385;; I cannot decide a "best" strategy here, so these are variables. In 386;; I cannot decide a "best" strategy here, so these are variables. In
@@ -391,7 +392,7 @@ Value should be a symbol, one of `ping', `accept', and `reject'."
391 :type '(choice (const ping) 392 :type '(choice (const ping)
392 (const accept) 393 (const accept)
393 (const reject)) 394 (const reject))
394 :safe #'ffap--accept-or-reject-p 395 :safe #'ffap-accept-or-reject-p
395 :group 'ffap) 396 :group 'ffap)
396 397
397(defcustom ffap-machine-p-known 'accept 398(defcustom ffap-machine-p-known 'accept
@@ -401,7 +402,7 @@ See `mail-extr.el' for the known domains."
401 :type '(choice (const ping) 402 :type '(choice (const ping)
402 (const accept) 403 (const accept)
403 (const reject)) 404 (const reject))
404 :safe #'ffap--accept-or-reject-p 405 :safe #'ffap-accept-or-reject-p
405 :group 'ffap 406 :group 'ffap
406 :version "29.1") 407 :version "29.1")
407 408
@@ -412,7 +413,7 @@ See `mail-extr.el' for the known domains."
412 :type '(choice (const ping) 413 :type '(choice (const ping)
413 (const accept) 414 (const accept)
414 (const reject)) 415 (const reject))
415 :safe #'ffap--accept-or-reject-p 416 :safe #'ffap-accept-or-reject-p
416 :group 'ffap) 417 :group 'ffap)
417 418
418(defun ffap-what-domain (domain) 419(defun ffap-what-domain (domain)