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
8d25cef7
Commit
8d25cef7
authored
Jul 16, 2005
by
Richard M. Stallman
Browse files
(eudc-jump-to-event): Avoid warning.
(eudc-bob-display-jpeg, eudc-bob-can-display-inline-images): Likewise.
parent
38926103
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/net/eudc-bob.el
lisp/net/eudc-bob.el
+3
-3
No files found.
lisp/net/eudc-bob.el
View file @
8d25cef7
...
...
@@ -69,7 +69,7 @@
(
defun
eudc-jump-to-event
(
event
)
"Jump to the window and point where EVENT occurred."
(
if
eudc-xemacs-p
(
if
(
fboundp
'event-closest-point
)
(
goto-char
(
event-closest-point
event
))
(
set-buffer
(
window-buffer
(
posn-window
(
event-start
event
))))
(
goto-char
(
posn-point
(
event-start
event
)))))
...
...
@@ -89,7 +89,7 @@
(
defun
eudc-bob-can-display-inline-images
()
"Return non-nil if we can display images inline."
(
if
eudc-xemacs-p
(
if
(
fboundp
'console-type
)
(
and
(
memq
(
console-type
)
'
(
x
mswindows
))
(
fboundp
'make-glyph
))
(
and
(
fboundp
'display-graphic-p
)
...
...
@@ -120,7 +120,7 @@ LABEL."
"Display the JPEG DATA at point.
If INLINE is non-nil, try to inline the image otherwise simply
display a button."
(
cond
(
eudc-xemacs-p
(
cond
(
(
fboundp
'make-glyph
)
(
let
((
glyph
(
if
(
eudc-bob-can-display-inline-images
)
(
make-glyph
(
list
(
vector
'jpeg
:data
data
)
[string
:data
"[JPEG Picture]"
]
)))))
...
...
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