diff options
| author | Paul Eggert | 2011-04-13 18:51:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-13 18:51:24 -0700 |
| commit | 1717ede2bb852dc687a07a27d3362619ba5085e9 (patch) | |
| tree | bceefcee0d4f2dec2344a1808550f0adbfec8685 /src | |
| parent | fa5fb2bc3565eee70d989b24537080fbb1929006 (diff) | |
| download | emacs-1717ede2bb852dc687a07a27d3362619ba5085e9.tar.gz emacs-1717ede2bb852dc687a07a27d3362619ba5085e9.zip | |
* minibuf.c: Make symbols static if they're not exported.
(minibuf_save_list, choose_minibuf_frame): Now static.
* lisp.h (choose_minibuf_frame): Remove decl.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lisp.h | 1 | ||||
| -rw-r--r-- | src/minibuf.c | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cc73d0b4a49..685a30d21d7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2011-04-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * minibuf.c: Make symbols static if they're not exported. | ||
| 4 | (minibuf_save_list, choose_minibuf_frame): Now static. | ||
| 5 | * lisp.h (choose_minibuf_frame): Remove decl. | ||
| 6 | |||
| 3 | * lisp.h (verify_bytepos, count_markers): Mark as externally visible. | 7 | * lisp.h (verify_bytepos, count_markers): Mark as externally visible. |
| 4 | 8 | ||
| 5 | * lread.c: Make symbols static if they're not exported. | 9 | * lread.c: Make symbols static if they're not exported. |
diff --git a/src/lisp.h b/src/lisp.h index e9987efefe2..288f08e37ce 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3050,7 +3050,6 @@ extern void clear_regexp_cache (void); | |||
| 3050 | extern Lisp_Object Qcompletion_ignore_case; | 3050 | extern Lisp_Object Qcompletion_ignore_case; |
| 3051 | extern Lisp_Object Vminibuffer_list; | 3051 | extern Lisp_Object Vminibuffer_list; |
| 3052 | extern Lisp_Object last_minibuf_string; | 3052 | extern Lisp_Object last_minibuf_string; |
| 3053 | extern void choose_minibuf_frame (void); | ||
| 3054 | EXFUN (Fcompleting_read, 8); | 3053 | EXFUN (Fcompleting_read, 8); |
| 3055 | EXFUN (Fread_from_minibuffer, 7); | 3054 | EXFUN (Fread_from_minibuffer, 7); |
| 3056 | EXFUN (Fread_variable, 2); | 3055 | EXFUN (Fread_variable, 2); |
diff --git a/src/minibuf.c b/src/minibuf.c index ae4372746bc..3bcb0fca61c 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -45,7 +45,7 @@ Lisp_Object Vminibuffer_list; | |||
| 45 | 45 | ||
| 46 | /* Data to remember during recursive minibuffer invocations */ | 46 | /* Data to remember during recursive minibuffer invocations */ |
| 47 | 47 | ||
| 48 | Lisp_Object minibuf_save_list; | 48 | static Lisp_Object minibuf_save_list; |
| 49 | 49 | ||
| 50 | /* Depth in minibuffer invocations. */ | 50 | /* Depth in minibuffer invocations. */ |
| 51 | 51 | ||
| @@ -97,7 +97,7 @@ static EMACS_INT minibuf_prompt_width; | |||
| 97 | We do this whenever the user starts a new minibuffer | 97 | We do this whenever the user starts a new minibuffer |
| 98 | or when a minibuffer exits. */ | 98 | or when a minibuffer exits. */ |
| 99 | 99 | ||
| 100 | void | 100 | static void |
| 101 | choose_minibuf_frame (void) | 101 | choose_minibuf_frame (void) |
| 102 | { | 102 | { |
| 103 | if (FRAMEP (selected_frame) | 103 | if (FRAMEP (selected_frame) |