aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-11-18 09:01:30 +0200
committerEli Zaretskii2023-11-18 09:01:30 +0200
commitae06e0275d6197e82eae5b8cb9bb30d33b863cee (patch)
tree39e79315b2cf52c4453e19b1e04daf1aac79d25c
parent669e754f5bdc9f9130a68eec6966babe9a85ecae (diff)
downloademacs-ae06e0275d6197e82eae5b8cb9bb30d33b863cee.tar.gz
emacs-ae06e0275d6197e82eae5b8cb9bb30d33b863cee.zip
; Improve documentation of recently added functions
* src/androidfns.c (Fandroid_external_storage_available_p) (Fandroid_request_storage_access): * lisp/term/android-win.el (android-after-splash-screen): Improve and clarify wording of doc strings.
-rw-r--r--lisp/term/android-win.el6
-rw-r--r--src/androidfns.c12
2 files changed, 9 insertions, 9 deletions
diff --git a/lisp/term/android-win.el b/lisp/term/android-win.el
index bcf49da1225..36470097b40 100644
--- a/lisp/term/android-win.el
+++ b/lisp/term/android-win.el
@@ -404,9 +404,9 @@ If storage permissions are as yet denied to Emacs, insert a short
404notice to that effect, followed by a button that enables the user 404notice to that effect, followed by a button that enables the user
405to grant such permissions. 405to grant such permissions.
406 406
407FANCY-P controls if the inserted notice should be displayed in a 407FANCY-P non-nil means the notice will be displayed with faces, in
408variable space consequent on its being incorporated within the 408the style appropriate for its incorporation within the fancy splash
409fancy splash screen." 409screen display; see `francy-splash-insert'."
410 (unless (android-external-storage-available-p) 410 (unless (android-external-storage-available-p)
411 (if fancy-p 411 (if fancy-p
412 (fancy-splash-insert 412 (fancy-splash-insert
diff --git a/src/androidfns.c b/src/androidfns.c
index 785587d9282..aeba9d897ad 100644
--- a/src/androidfns.c
+++ b/src/androidfns.c
@@ -3101,7 +3101,7 @@ within the directory `/content/storage'. */)
3101DEFUN ("android-external-storage-available-p", 3101DEFUN ("android-external-storage-available-p",
3102 Fandroid_external_storage_available_p, 3102 Fandroid_external_storage_available_p,
3103 Sandroid_external_storage_available_p, 0, 0, 0, 3103 Sandroid_external_storage_available_p, 0, 0, 0,
3104 doc: /* Return whether Emacs is entitled to access external storage. 3104 doc: /* Return non-nil if Emacs is entitled to access external storage.
3105Return nil if the requisite permissions for external storage access 3105Return nil if the requisite permissions for external storage access
3106have not been granted to Emacs, t otherwise. Such permissions can be 3106have not been granted to Emacs, t otherwise. Such permissions can be
3107requested by means of the `android-request-storage-access' 3107requested by means of the `android-request-storage-access'
@@ -3117,13 +3117,13 @@ absent these permissions. */)
3117 3117
3118DEFUN ("android-request-storage-access", Fandroid_request_storage_access, 3118DEFUN ("android-request-storage-access", Fandroid_request_storage_access,
3119 Sandroid_request_storage_access, 0, 0, "", 3119 Sandroid_request_storage_access, 0, 0, "",
3120 doc: /* Request rights to access external storage. 3120 doc: /* Request permissions to access external storage.
3121 3121
3122Return nil whether access is accorded or not, immediately subsequent 3122Return nil regardless of whether access permissions are granted or not,
3123to displaying the permissions request dialog. 3123immediately after displaying the permissions request dialog.
3124 3124
3125`android-external-storage-available-p' (which see) ascertains if Emacs 3125Use `android-external-storage-available-p' (which see) to verify
3126has received such rights. */) 3126whether Emacs has actually received such access permissions. */)
3127 (void) 3127 (void)
3128{ 3128{
3129 android_request_storage_access (); 3129 android_request_storage_access ();