Skip to content

Commit

Permalink
ensure template replacements doesn't error when variables don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
nicferrier committed Sep 16, 2012
1 parent 3d5c069 commit 77b106b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elnode.el
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,8 @@ being returned."
(or
(assoc-default
(match-string-no-properties 1 matched)
replacements nil t)))))
replacements nil t)
""))))
(buffer-substring (point-min)(point-max)))))

(defvar elnode-webserver-visit-file nil
Expand Down

0 comments on commit 77b106b

Please sign in to comment.