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
86bd482f
Commit
86bd482f
authored
Oct 17, 2004
by
Richard M. Stallman
Browse files
(special-display-popup-frame): Make the buffer current as its frame is created.
parent
87f14b12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/frame.el
lisp/frame.el
+3
-1
No files found.
lisp/frame.el
View file @
86bd482f
...
...
@@ -135,7 +135,9 @@ Pass it BUFFER as first arg, and (cdr ARGS) gives the rest of the args."
;; (set-window-dedicated-p window t)
window
))
;; If no window yet, make one in a new frame.
(
let
((
frame
(
make-frame
(
append
args
special-display-frame-alist
))))
(
let
((
frame
(
with-current-buffer
buffer
(
make-frame
(
append
args
special-display-frame-alist
)))))
(
set-window-buffer
(
frame-selected-window
frame
)
buffer
)
(
set-window-dedicated-p
(
frame-selected-window
frame
)
t
)
(
frame-selected-window
frame
))))))
...
...
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