diff options
| author | Juanma Barranquero | 2011-03-20 14:57:22 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2011-03-20 14:57:22 +0100 |
| commit | 45b6f6d5cba8274c2e75d3cc7cd7a14f54a7b659 (patch) | |
| tree | b9c385b43630d4e777f291d98fd5775173147a3c /src | |
| parent | 3ec03f7e4696b4af1af7e1a2fef2a64ccb9224c2 (diff) | |
| download | emacs-45b6f6d5cba8274c2e75d3cc7cd7a14f54a7b659.tar.gz emacs-45b6f6d5cba8274c2e75d3cc7cd7a14f54a7b659.zip | |
src/minibuf.c: Fix previous change.
* minibuf.c (Vcompleting_read_function): Don't declare, global variables
are now in src/globals.h.
(syms_of_minibuf): Remove spurious & from previous change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/minibuf.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d5d1efebef8..95bafd023b4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-03-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * minibuf.c (Vcompleting_read_function): Don't declare, global variables | ||
| 4 | are now in src/globals.h. | ||
| 5 | (syms_of_minibuf): Remove spurious & from previous change. | ||
| 6 | |||
| 1 | 2011-03-20 Leo <sdl.web@gmail.com> | 7 | 2011-03-20 Leo <sdl.web@gmail.com> |
| 2 | 8 | ||
| 3 | * minibuf.c (completing-read-function): New variable. | 9 | * minibuf.c (completing-read-function): New variable. |
diff --git a/src/minibuf.c b/src/minibuf.c index 3fbe14e9da0..b6b79be9d3f 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -73,7 +73,6 @@ Lisp_Object Qminibuffer_completion_table; | |||
| 73 | Lisp_Object Qminibuffer_completion_predicate; | 73 | Lisp_Object Qminibuffer_completion_predicate; |
| 74 | Lisp_Object Qminibuffer_completion_confirm; | 74 | Lisp_Object Qminibuffer_completion_confirm; |
| 75 | Lisp_Object Qcompleting_read_default; | 75 | Lisp_Object Qcompleting_read_default; |
| 76 | Lisp_Object Vcompleting_read_function; | ||
| 77 | Lisp_Object Quser_variable_p; | 76 | Lisp_Object Quser_variable_p; |
| 78 | 77 | ||
| 79 | Lisp_Object Qminibuffer_default; | 78 | Lisp_Object Qminibuffer_default; |
| @@ -2142,7 +2141,7 @@ If the value is `confirm-after-completion', the user may exit with an | |||
| 2142 | Vminibuffer_completing_file_name = Qnil; | 2141 | Vminibuffer_completing_file_name = Qnil; |
| 2143 | 2142 | ||
| 2144 | DEFVAR_LISP ("completing-read-function", | 2143 | DEFVAR_LISP ("completing-read-function", |
| 2145 | &Vcompleting_read_function, | 2144 | Vcompleting_read_function, |
| 2146 | doc: /* The function called by `completing-read' to do the work. | 2145 | doc: /* The function called by `completing-read' to do the work. |
| 2147 | It should accept the same arguments as `completing-read'. */); | 2146 | It should accept the same arguments as `completing-read'. */); |
| 2148 | Vcompleting_read_function = Qcompleting_read_default; | 2147 | Vcompleting_read_function = Qcompleting_read_default; |