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
f03f8f2c
Commit
f03f8f2c
authored
Mar 29, 2008
by
Juri Linkov
Browse files
(Fcall_interactively): Revert 2008-03-16 change
for interactive code letters 'b' and 'B'.
parent
f29775fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
28 deletions
+14
-28
src/ChangeLog
src/ChangeLog
+5
-0
src/callint.c
src/callint.c
+9
-28
No files found.
src/ChangeLog
View file @
f03f8f2c
2008-03-29 Juri Linkov <juri@jurta.org>
* callint.c (Fcall_interactively): Revert 2008-03-16 change
for interactive code letters 'b' and 'B'.
2008-03-29 Eli Zaretskii <eliz@gnu.org>
* fileio.c (Fexpand_file_name): Convert the value of $HOME to a
...
...
src/callint.c
View file @
f03f8f2c
...
...
@@ -513,35 +513,16 @@ invoke it. If KEYS is omitted or nil, the return value of
break
;
case
'b'
:
/* Name of existing buffer */
args
[
i
]
=
Fcurrent_buffer
();
if
(
EQ
(
selected_window
,
minibuf_window
))
args
[
i
]
=
Fother_buffer
(
args
[
i
],
Qnil
,
Qnil
);
args
[
i
]
=
Fread_buffer
(
callint_message
,
args
[
i
],
Qt
);
break
;
case
'B'
:
/* Name of buffer, possibly nonexistent */
{
Lisp_Object
tema
,
temb
,
temc
;
/* Get a list of buffer names (except internal buffers), and
use this list for default values. Put either current
buffer or other-buffer in front. */
tema
=
Qnil
;
temc
=
Fcurrent_buffer
();
if
(
*
tem
==
'B'
||
EQ
(
selected_window
,
minibuf_window
))
temc
=
Fother_buffer
(
temc
,
Qnil
,
Qnil
);
tema
=
Fcons
(
XBUFFER
(
temc
)
->
name
,
tema
);
teml
=
Fbuffer_list
(
selected_frame
);
for
(;
CONSP
(
teml
);
teml
=
XCDR
(
teml
))
{
temb
=
XCAR
(
teml
);
if
(
EQ
(
temb
,
temc
))
continue
;
if
(
NILP
(
temb
))
continue
;
if
(
NILP
(
XBUFFER
(
temb
)
->
name
))
continue
;
if
(
SREF
(
XBUFFER
(
temb
)
->
name
,
0
)
==
' '
)
continue
;
tema
=
Fcons
(
XBUFFER
(
temb
)
->
name
,
tema
);
}
args
[
i
]
=
Fread_buffer
(
callint_message
,
Fnreverse
(
tema
),
*
tem
==
'b'
?
Qt
:
Qnil
);
}
args
[
i
]
=
Fread_buffer
(
callint_message
,
Fother_buffer
(
Fcurrent_buffer
(),
Qnil
,
Qnil
),
Qnil
);
break
;
case
'c'
:
/* Character */
...
...
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