Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fbd1209a
Commit
fbd1209a
authored
Sep 08, 1999
by
Richard M. Stallman
Browse files
(read_minibuf): Put all three properties on the same range--the whole prompt.
parent
63f4d579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/minibuf.c
src/minibuf.c
+5
-4
No files found.
src/minibuf.c
View file @
fbd1209a
...
...
@@ -241,6 +241,7 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
struct
gcpro
gcpro1
,
gcpro2
,
gcpro3
,
gcpro4
,
gcpro5
;
Lisp_Object
enable_multibyte
;
extern
Lisp_Object
Qinvisible
,
Qintangible
,
Qread_only
,
Qfront_sticky
;
extern
Lisp_Object
Qrear_nonsticky
;
specbind
(
Qminibuffer_default
,
defalt
);
...
...
@@ -396,12 +397,12 @@ read_minibuf (map, initial, prompt, backup_n, expflag,
XSETFASTINT
(
current_buffer
->
minibuffer_prompt_length
,
PT
);
if
(
PT
>
BEG
)
{
Fput_text_property
(
make_number
(
BEG
),
make_number
(
PT
-
1
),
Fput_text_property
(
make_number
(
BEG
),
make_number
(
PT
),
Qfront_sticky
,
Qt
,
Qnil
);
Fput_text_property
(
make_number
(
BEG
),
make_number
(
PT
-
1
),
Qread_only
,
Qt
,
Qnil
);
Fput_text_property
(
make_number
(
PT
-
1
),
make_number
(
Z
),
Fput_text_property
(
make_number
(
BEG
),
make_number
(
PT
),
Qrear_nonsticky
,
Qt
,
Qnil
);
Fput_text_property
(
make_number
(
BEG
),
make_number
(
PT
),
Qread_only
,
Qt
,
Qnil
);
}
/* If appropriate, copy enable-multibyte-characters into the minibuffer. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment