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
a3ee6f08
Commit
a3ee6f08
authored
Nov 09, 2007
by
Stefan Monnier
Browse files
(x-create-frame-with-faces, tty-create-frame-with-faces):
Don't set interprogram-(cut|paste)-function on each frame.
parent
c7e36bd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/faces.el
lisp/faces.el
+0
-9
No files found.
lisp/ChangeLog
View file @
a3ee6f08
2007-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
* faces.el (x-create-frame-with-faces, tty-create-frame-with-faces):
Don't set interprogram-(cut|paste)-function on each frame.
* term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
Make them work in tty frames.
(interprogram-cut-function, interprogram-paste-function):
...
...
lisp/faces.el
View file @
a3ee6f08
...
...
@@ -1905,11 +1905,6 @@ Value is the new frame created."
(
x-handle-reverse-video
frame
parameters
)
(
frame-set-background-mode
frame
)
(
face-set-after-frame-default
frame
)
;; Arrange for the kill and yank functions to set and check the clipboard.
(
modify-frame-parameters
frame
'
((
interprogram-cut-function
.
x-select-text
)))
(
modify-frame-parameters
frame
'
((
interprogram-paste-function
.
x-cut-buffer-or-selection-value
)))
;; Make sure the tool-bar is ready to be enabled. The
;; `tool-bar-lines' frame parameter will not take effect
;; without this call.
...
...
@@ -2012,10 +2007,6 @@ created."
(
with-selected-frame
frame
(
tty-handle-reverse-video
frame
(
frame-parameters
frame
))
;; Make sure the kill and yank functions do not touch the X clipboard.
(
modify-frame-parameters
frame
'
((
interprogram-cut-function
.
nil
)))
(
modify-frame-parameters
frame
'
((
interprogram-paste-function
.
nil
)))
(
unless
(
terminal-parameter
frame
'terminal-initted
)
(
set-terminal-parameter
frame
'terminal-initted
t
)
(
set-locale-environment
nil
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