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
43180aff
Commit
43180aff
authored
May 20, 2007
by
Nick Roberts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(t-mouse-mode): Reset t-mouse-mode to nil if there
is an error.
parent
dea2cbad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
lisp/t-mouse.el
lisp/t-mouse.el
+10
-6
No files found.
lisp/t-mouse.el
View file @
43180aff
...
...
@@ -30,10 +30,10 @@
;; The "gpm" server runs under Linux, so this package is rather
;; Linux-dependent.
;; The file, t-mouse was originally written by Alessandro Rubini and Ian T
;; Zimmerman and communicated with
Emacs
through
the
client program
mev. Now
;; the interface with gpm is directly through a Unix socket, so this
file is
;; reduced to a minor mode macro call.
;; The file, t-mouse
.el
was originally written by Alessandro Rubini and Ian T
;; Zimmerman
,
and
Emacs
communicated with
gpm
through
a
client program
called
;;
mev. Now
the interface with gpm is directly through a Unix socket, so this
;;
file is
reduced to a
single
minor mode macro call.
;;
...
...
@@ -53,9 +53,13 @@ It requires the `mev' program, part of the `gpm' utilities."
(
if
t-mouse-mode
(
progn
(
unless
(
fboundp
'term-open-connection
)
(
error
"Emacs must be built with Gpm to use this mode"
))
(
progn
(
setq
t-mouse-mode
nil
)
(
error
"Emacs must be built with Gpm to use this mode"
)))
(
unless
(
term-open-connection
)
(
error
"Can't open mouse connection"
)))
(
progn
(
setq
t-mouse-mode
nil
)
(
error
"Can't open mouse connection"
))))
;; Turn it off
(
term-close-connection
))))
...
...
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