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
2f5ed2e8
Commit
2f5ed2e8
authored
Jul 29, 1994
by
Richard M. Stallman
Browse files
(mouse-choose-completion): Check for next-single-property-change
returning nil.
parent
88dd3c24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/mouse.el
lisp/mouse.el
+2
-1
No files found.
lisp/mouse.el
View file @
2f5ed2e8
...
...
@@ -1204,7 +1204,8 @@ and selects that window."
(
if
(
null
beg
)
(
error
"No completion here"
))
(
setq
beg
(
previous-single-property-change
beg
'mouse-face
))
(
setq
end
(
next-single-property-change
end
'mouse-face
))
(
setq
end
(
or
(
next-single-property-change
end
'mouse-face
)
(
point-max
)))
(
setq
choice
(
buffer-substring
beg
end
)))))
(
let
((
owindow
(
selected-window
)))
(
select-window
(
posn-window
(
event-start
event
)))
...
...
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