diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/emacs.c | 14 | ||||
| -rw-r--r-- | src/sysdep.c | 9 |
3 files changed, 3 insertions, 23 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7cce1f017d7..f5ab88743b1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-11-21 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-11-21 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * sysdep.c (sys_subshell): Remove SET_EMACS_PRIORITY. | ||
| 4 | * emacs.c (emacs_priority, syms_of_emacs): Remove emacs_priority. | ||
| 5 | |||
| 3 | * intervals.h (temp_set_point, temp_set_point_both): | 6 | * intervals.h (temp_set_point, temp_set_point_both): |
| 4 | * buffer.h (offset_intervals, copy_intervals): Remove INLINE. | 7 | * buffer.h (offset_intervals, copy_intervals): Remove INLINE. |
| 5 | 8 | ||
diff --git a/src/emacs.c b/src/emacs.c index 97ffd1a74c7..0d3b37ae27c 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -195,11 +195,6 @@ Lisp_Object Vdynamic_library_alist; | |||
| 195 | but instead should use the virtual terminal under which it was started. */ | 195 | but instead should use the virtual terminal under which it was started. */ |
| 196 | int inhibit_window_system; | 196 | int inhibit_window_system; |
| 197 | 197 | ||
| 198 | /* If nonzero, set Emacs to run at this priority. This is also used | ||
| 199 | in child_setup and sys_suspend to make sure subshells run at normal | ||
| 200 | priority; those functions have their own extern declaration. */ | ||
| 201 | EMACS_INT emacs_priority; | ||
| 202 | |||
| 203 | /* If non-zero, a filter or a sentinel is running. Tested to save the match | 198 | /* If non-zero, a filter or a sentinel is running. Tested to save the match |
| 204 | data on the first attempt to change it inside asynchronous code. */ | 199 | data on the first attempt to change it inside asynchronous code. */ |
| 205 | int running_asynch_code; | 200 | int running_asynch_code; |
| @@ -2439,15 +2434,6 @@ Before Emacs 24.1, the hook was not run in batch mode, i.e., if | |||
| 2439 | `noninteractive' was non-nil. */); | 2434 | `noninteractive' was non-nil. */); |
| 2440 | Vkill_emacs_hook = Qnil; | 2435 | Vkill_emacs_hook = Qnil; |
| 2441 | 2436 | ||
| 2442 | DEFVAR_INT ("emacs-priority", &emacs_priority, | ||
| 2443 | doc: /* Priority for Emacs to run at. | ||
| 2444 | This value is effective only if set before Emacs is dumped, | ||
| 2445 | and only if the Emacs executable is installed with setuid to permit | ||
| 2446 | it to change priority. (Emacs sets its uid back to the real uid.) | ||
| 2447 | Currently, you need to define SET_EMACS_PRIORITY in `config.h' | ||
| 2448 | before you compile Emacs, to enable the code for this feature. */); | ||
| 2449 | emacs_priority = 0; | ||
| 2450 | |||
| 2451 | DEFVAR_LISP ("path-separator", &Vpath_separator, | 2437 | DEFVAR_LISP ("path-separator", &Vpath_separator, |
| 2452 | doc: /* String containing the character that separates directories in | 2438 | doc: /* String containing the character that separates directories in |
| 2453 | search paths, such as PATH and other similar environment variables. */); | 2439 | search paths, such as PATH and other similar environment variables. */); |
diff --git a/src/sysdep.c b/src/sysdep.c index 0c291dd80ac..ac766058d34 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -554,15 +554,6 @@ sys_subshell (void) | |||
| 554 | 554 | ||
| 555 | close_process_descs (); /* Close Emacs's pipes/ptys */ | 555 | close_process_descs (); /* Close Emacs's pipes/ptys */ |
| 556 | 556 | ||
| 557 | #ifdef SET_EMACS_PRIORITY | ||
| 558 | { | ||
| 559 | extern EMACS_INT emacs_priority; | ||
| 560 | |||
| 561 | if (emacs_priority < 0) | ||
| 562 | nice (-emacs_priority); | ||
| 563 | } | ||
| 564 | #endif | ||
| 565 | |||
| 566 | #ifdef MSDOS /* Demacs 1.1.2 91/10/20 Manabu Higashida */ | 557 | #ifdef MSDOS /* Demacs 1.1.2 91/10/20 Manabu Higashida */ |
| 567 | { | 558 | { |
| 568 | char *epwd = getenv ("PWD"); | 559 | char *epwd = getenv ("PWD"); |