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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
28681e35
Commit
28681e35
authored
Oct 06, 2007
by
Juri Linkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(image-type): Check if image-types is bound to not fail on tty.
parent
7017d784
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/image.el
lisp/image.el
+1
-1
No files found.
lisp/image.el
View file @
28681e35
...
...
@@ -323,7 +323,7 @@ Optional DATA-P non-nil means SOURCE is a string containing image data."
(or (image-type-from-file-header source)
(image-type-from-file-name source))))
(or type (error "
Cannot
determine
image
type
")))
(or (memq type
image-types
)
(or (memq type
(and (boundp 'image-types) image-types)
)
(error "
Invalid
image
type
`
%s
'
" type))
type)
...
...
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