diff options
| author | Eli Zaretskii | 2023-11-18 09:01:30 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-11-18 09:01:30 +0200 |
| commit | ae06e0275d6197e82eae5b8cb9bb30d33b863cee (patch) | |
| tree | 39e79315b2cf52c4453e19b1e04daf1aac79d25c | |
| parent | 669e754f5bdc9f9130a68eec6966babe9a85ecae (diff) | |
| download | emacs-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.el | 6 | ||||
| -rw-r--r-- | src/androidfns.c | 12 |
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 | |||
| 404 | notice to that effect, followed by a button that enables the user | 404 | notice to that effect, followed by a button that enables the user |
| 405 | to grant such permissions. | 405 | to grant such permissions. |
| 406 | 406 | ||
| 407 | FANCY-P controls if the inserted notice should be displayed in a | 407 | FANCY-P non-nil means the notice will be displayed with faces, in |
| 408 | variable space consequent on its being incorporated within the | 408 | the style appropriate for its incorporation within the fancy splash |
| 409 | fancy splash screen." | 409 | screen 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'. */) | |||
| 3101 | DEFUN ("android-external-storage-available-p", | 3101 | DEFUN ("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. |
| 3105 | Return nil if the requisite permissions for external storage access | 3105 | Return nil if the requisite permissions for external storage access |
| 3106 | have not been granted to Emacs, t otherwise. Such permissions can be | 3106 | have not been granted to Emacs, t otherwise. Such permissions can be |
| 3107 | requested by means of the `android-request-storage-access' | 3107 | requested by means of the `android-request-storage-access' |
| @@ -3117,13 +3117,13 @@ absent these permissions. */) | |||
| 3117 | 3117 | ||
| 3118 | DEFUN ("android-request-storage-access", Fandroid_request_storage_access, | 3118 | DEFUN ("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 | ||
| 3122 | Return nil whether access is accorded or not, immediately subsequent | 3122 | Return nil regardless of whether access permissions are granted or not, |
| 3123 | to displaying the permissions request dialog. | 3123 | immediately after displaying the permissions request dialog. |
| 3124 | 3124 | ||
| 3125 | `android-external-storage-available-p' (which see) ascertains if Emacs | 3125 | Use `android-external-storage-available-p' (which see) to verify |
| 3126 | has received such rights. */) | 3126 | whether Emacs has actually received such access permissions. */) |
| 3127 | (void) | 3127 | (void) |
| 3128 | { | 3128 | { |
| 3129 | android_request_storage_access (); | 3129 | android_request_storage_access (); |