Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c3ef5084
Commit
c3ef5084
authored
May 24, 2003
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(iconify-or-deiconify-frame): Move to frame.el.
Turn on mouse-wheel support by default.
parent
3db7df06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
15 deletions
+11
-15
lisp/term/x-win.el
lisp/term/x-win.el
+11
-15
No files found.
lisp/term/x-win.el
View file @
c3ef5084
...
...
@@ -243,8 +243,8 @@ This function returns ARGS minus the arguments that have been processed."
x-invocation-args
(
cdr
x-invocation-args
)))
(
defvar
emacs-save-session-functions
nil
"
Functions to
run when a save-session event occurs.
The functions do
es
not get any argument.
"
Special hook
run when a save-session event occurs.
The functions do not get any argument.
Functions can return non-nil to inform the session manager that the
window system shutdown should be aborted.
...
...
@@ -1159,13 +1159,6 @@ XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp")
;;;; Function keys
(
defun
iconify-or-deiconify-frame
()
"Iconify the selected frame, or deiconify if it's currently an icon."
(
interactive
)
(
if
(
eq
(
cdr
(
assq
'visibility
(
frame-parameters
)))
t
)
(
iconify-frame
)
(
make-frame-visible
)))
(
substitute-key-definition
'suspend-emacs
'iconify-or-deiconify-frame
global-map
)
...
...
@@ -2367,11 +2360,14 @@ This is in addition to, but in preference to, the primary selection."
;; Don't show the frame name; that's redundant with X.
(setq-default mode-line-frame-identification "
"
)
;;; Motif direct handling of f10 wasn't working right,
;;; So temporarily we've turned it off in lwlib-Xm.c
;;; and turned the Emacs f10 back on.
;;; ;; Motif normally handles f10 itself, so don't try to handle it a second time.
;;; (if (featurep 'motif)
;;; (global-set-key [f10] 'ignore))
;; Motif direct handling of f10 wasn't working right,
;; So temporarily we've turned it off in lwlib-Xm.c
;; and turned the Emacs f10 back on.
;; ;; Motif normally handles f10 itself, so don't try to handle it a second time.
;; (if (featurep 'motif)
;; (global-set-key [f10] 'ignore))
;; Turn on support for mouse wheels.
(
mouse-wheel-mode
1
)
;;; x-win.el ends here
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