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
553624bf
Commit
553624bf
authored
Jun 05, 1993
by
Richard M. Stallman
Browse files
(x-selection-timeout): Set it, using x-get-resource.
parent
80da0190
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lisp/term/x-win.el
lisp/term/x-win.el
+7
-0
No files found.
lisp/term/x-win.el
View file @
553624bf
...
...
@@ -529,6 +529,13 @@ This returns ARGS with the arguments that have been processed removed."
(
setq
initial-frame-alist
(
append
initial-frame-alist
(
x-parse-geometry
res-geometry
)))))
;; Set x-selection-timeout, measured in milliseconds.
(
let
((
res-selection-timeout
(
x-get-resource
"selectionTimeout"
"SelectionTimeout"
)))
(
setq
x-selection-timeout
5000
)
(
if
res-selection-timeout
(
setq
x-selection-timeout
(
string-to-number
res-selection-timeout
))))
(
defun
x-win-suspend-error
()
(
error
"Suspending an emacs running under X makes no sense"
))
(
add-hook
'suspend-hook
'x-win-suspend-error
)
...
...
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