projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feeacab
)
catch failure to open the filetypes file
author
Joey Hess
<joey@gnu.kitenet.net>
Thu, 25 Feb 2010 01:28:52 +0000
(20:28 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Thu, 25 Feb 2010 01:28:52 +0000
(20:28 -0500)
IkiWiki/Plugin/highlight.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/highlight.pm
b/IkiWiki/Plugin/highlight.pm
index 947fb692e5ab8fbe103f29a20d23fd969b47c235..e517ac5c06aa425771dcac7256a8e3127da8d3bb 100644
(file)
--- a/
IkiWiki/Plugin/highlight.pm
+++ b/
IkiWiki/Plugin/highlight.pm
@@
-80,7
+80,7
@@
my %highlighters;
# Parse highlight's config file to get extension => language mappings.
sub read_filetypes () {
- open (IN, $filetypes);
+ open (IN, $filetypes)
|| error("$filetypes: $!")
;
while (<IN>) {
chomp;
if (/^\$ext\((.*)\)=(.*)$/) {