diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index 5e1e1a8cc0a..85895a7d9f2 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -2110,6 +2110,69 @@ use. | |||
| 2110 | See `setenv' and `getenv'. */); | 2110 | See `setenv' and `getenv'. */); |
| 2111 | Vprocess_environment = Qnil; | 2111 | Vprocess_environment = Qnil; |
| 2112 | 2112 | ||
| 2113 | DEFVAR_LISP ("ctags-program-name", Vctags_program_name, | ||
| 2114 | doc: /* Name of the `ctags' program distributed with Emacs. | ||
| 2115 | Use this instead of calling `ctags' directly, as `ctags' may have been | ||
| 2116 | renamed to comply with executable naming restrictions on the system. */); | ||
| 2117 | #if !defined HAVE_ANDROID || defined ANDROID_STUBIFY | ||
| 2118 | Vctags_program_name = build_pure_c_string ("ctags"); | ||
| 2119 | #else | ||
| 2120 | Vctags_program_name = build_pure_c_string ("libctags.so"); | ||
| 2121 | #endif | ||
| 2122 | |||
| 2123 | DEFVAR_LISP ("etags-program-name", Vetags_program_name, | ||
| 2124 | doc: /* Name of the `etags' program distributed with Emacs. | ||
| 2125 | Use this instead of calling `etags' directly, as `etags' may have been | ||
| 2126 | renamed to comply with executable naming restrictions on the system. */); | ||
| 2127 | #if !defined HAVE_ANDROID || defined ANDROID_STUBIFY | ||
| 2128 | Vetags_program_name = build_pure_c_string ("etags"); | ||
| 2129 | #else | ||
| 2130 | Vetags_program_name = build_pure_c_string ("libetags.so"); | ||
| 2131 | #endif | ||
| 2132 | |||
| 2133 | DEFVAR_LISP ("hexl-program-name", Vhexl_program_name, | ||
| 2134 | doc: /* Name of the `hexl' program distributed with Emacs. | ||
| 2135 | Use this instead of calling `hexl' directly, as `hexl' may have been | ||
| 2136 | renamed to comply with executable naming restrictions on the system. */); | ||
| 2137 | #if !defined HAVE_ANDROID || defined ANDROID_STUBIFY | ||
| 2138 | Vhexl_program_name = build_pure_c_string ("hexl"); | ||
| 2139 | #else | ||
| 2140 | Vhexl_program_name = build_pure_c_string ("libhexl.so"); | ||
| 2141 | #endif | ||
| 2142 | |||
| 2143 | DEFVAR_LISP ("emacsclient-program-name", Vemacsclient_program_name, | ||
| 2144 | doc: /* Name of the `emacsclient' program distributed with Emacs. | ||
| 2145 | Use this instead of calling `emacsclient' directly, as `emacsclient' | ||
| 2146 | may have been renamed to comply with executable naming restrictions on | ||
| 2147 | the system. */); | ||
| 2148 | #if !defined HAVE_ANDROID || defined ANDROID_STUBIFY | ||
| 2149 | Vemacsclient_program_name = build_pure_c_string ("emacsclient"); | ||
| 2150 | #else | ||
| 2151 | Vemacsclient_program_name = build_pure_c_string ("libemacsclient.so"); | ||
| 2152 | #endif | ||
| 2153 | |||
| 2154 | DEFVAR_LISP ("movemail-program-name", Vmovemail_program_name, | ||
| 2155 | doc: /* Name of the `movemail' program distributed with Emacs. | ||
| 2156 | Use this instead of calling `movemail' directly, as `movemail' | ||
| 2157 | may have been renamed to comply with executable naming restrictions on | ||
| 2158 | the system. */); | ||
| 2159 | #if !defined HAVE_ANDROID || defined ANDROID_STUBIFY | ||
| 2160 | Vmovemail_program_name = build_pure_c_string ("movemail"); | ||
| 2161 | #else | ||
| 2162 | Vmovemail_program_name = build_pure_c_string ("libmovemail.so"); | ||
| 2163 | #endif | ||
| 2164 | |||
| 2165 | DEFVAR_LISP ("ebrowse-program-name", Vebrowse_program_name, | ||
| 2166 | doc: /* Name of the `ebrowse' program distributed with Emacs. | ||
| 2167 | Use this instead of calling `ebrowse' directly, as `ebrowse' | ||
| 2168 | may have been renamed to comply with executable naming restrictions on | ||
| 2169 | the system. */); | ||
| 2170 | #if !defined HAVE_ANDROID || defined ANDROID_STUBIFY | ||
| 2171 | Vebrowse_program_name = build_pure_c_string ("ebrowse"); | ||
| 2172 | #else | ||
| 2173 | Vebrowse_program_name = build_pure_c_string ("libebrowse.so"); | ||
| 2174 | #endif | ||
| 2175 | |||
| 2113 | defsubr (&Scall_process); | 2176 | defsubr (&Scall_process); |
| 2114 | defsubr (&Sgetenv_internal); | 2177 | defsubr (&Sgetenv_internal); |
| 2115 | defsubr (&Scall_process_region); | 2178 | defsubr (&Scall_process_region); |