Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1c55ebd1
Commit
1c55ebd1
authored
Mar 12, 2008
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fswitch_to_buffer): Fall back on pop-to-buffer.
parent
6f87952b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
etc/NEWS
etc/NEWS
+4
-0
src/ChangeLog
src/ChangeLog
+4
-0
src/buffer.c
src/buffer.c
+4
-1
No files found.
etc/NEWS
View file @
1c55ebd1
...
...
@@ -65,6 +65,10 @@ default toolkit, but you can use --with-x-toolkit=gtk if necessary.
* Changes in Emacs 23.1
** Operations like C-x b and C-x C-f which use switch-to-buffer do not fail
any more when used in a minibuffer or a dedicated window. Instead, they
fallback on using pop-to-buffer which will use some other window.
** Emacs now supports using both X displays and ttys in one session.
Start the server (M-x server-start). Then `emacsclient -t' creates a
tty frame connected to the running emacs server. You can also use any
...
...
src/ChangeLog
View file @
1c55ebd1
2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
* buffer.c (Fswitch_to_buffer): Fall back on pop-to-buffer.
2008-03-11 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se>
* xterm.c (x_connection_closed): For GTK: If this is the last
...
...
src/buffer.c
View file @
1c55ebd1
...
...
@@ -1802,7 +1802,10 @@ the window-buffer correspondences. */)
}
err = no_switch_window (selected_window);
if
(
err
)
error
(
err
);
if (err)
/* If can't display in current window, let pop-to-buffer
try some other window. */
return call3 (intern ("pop-to-buffer"), buffer, Qnil, norecord);
return switch_to_buffer_1 (buffer, norecord);
}
...
...
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