Skip to content

Commit

Permalink
Ensure dad jokes are handled in multi-byte
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Jun 20, 2017
1 parent 1bf51dc commit fed52a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dad-joke.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
(let ((url-mime-accept-string "text/plain")
(url-request-extra-headers `(("User-Agent" . ,dad-joke-user-agent))))
(url-retrieve-synchronously dad-joke-server-url t t))
(set-buffer-multibyte t)
(buffer-substring-no-properties (point) (point-max))))

;;;###autoload
Expand Down

0 comments on commit fed52a8

Please sign in to comment.