aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2023-08-24 12:41:15 +0800
committerPo Lu2023-08-24 12:41:54 +0800
commit32fe187bdf16ebc81a09592be0af75dc2227cded (patch)
tree8fb6d5a8164f76d52b085d4aba0da1366960da3d /src
parent7b0f24ab1f9770408a08181ab9f8ac2b43e5ab9b (diff)
downloademacs-32fe187bdf16ebc81a09592be0af75dc2227cded.tar.gz
emacs-32fe187bdf16ebc81a09592be0af75dc2227cded.zip
Install rcs2log within Emacs packages for Android
* doc/emacs/android.texi (Android Environment): Mention the `rcs2log' program name variable. Also refine the wording of the paragraph describing bundled programs a bit. * doc/lispref/processes.texi (Subprocess Creation): Mention `rcs2log' and `rcs2log-program-name'. Correct typos and spelling mistakes within the variable index. * etc/NEWS: Amend the announcement of *-program-name to also cite rcs2log. * java/Makefile.in (install_temp): Copy rcs2log to lib/*/librcs2log.so after minor revisions to change the interpreter name. * lisp/vc/vc-rcs.el (vc-rcs-rcs2log-program): Ground the program name upon `rcs2log-program-name'. * src/callproc.c (syms_of_callproc) <Vrcs2log_program_name>: New defvar. Define to `librcs2log.so' under Android, `rcs2log' elsewhere.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index dc37dfdc01f..082c65c4f14 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -2216,6 +2216,17 @@ the system. */);
2216 Vebrowse_program_name = build_pure_c_string ("libebrowse.so"); 2216 Vebrowse_program_name = build_pure_c_string ("libebrowse.so");
2217#endif 2217#endif
2218 2218
2219 DEFVAR_LISP ("rcs2log-program-name", Vrcs2log_program_name,
2220 doc: /* Name of the `rcs2log' program distributed with Emacs.
2221Use this instead of calling `rcs2log' directly, as `rcs2log'
2222may have been renamed to comply with executable naming restrictions on
2223the system. */);
2224#if !defined HAVE_ANDROID || defined ANDROID_STUBIFY
2225 Vrcs2log_program_name = build_pure_c_string ("rcs2log");
2226#else /* HAVE_ANDROID && !ANDROID_STUBIFY */
2227 Vrcs2log_program_name = build_pure_c_string ("librcs2log.so");
2228#endif /* !HAVE_ANDROID || ANDROID_STUBIFY */
2229
2219 defsubr (&Scall_process); 2230 defsubr (&Scall_process);
2220 defsubr (&Sgetenv_internal); 2231 defsubr (&Sgetenv_internal);
2221 defsubr (&Scall_process_region); 2232 defsubr (&Scall_process_region);