This only works for providers that posts this info when creating the
paste. Currently 3/6 providers does this. The rest of them just
transforms the URL on return which is slightly different and will be
solved later.
This refs #7.
Squashed commit of the following:
commit 612c2c4a0d9278d1ed3c7d794dca29acfa91e647
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 16:24:41 2017 +0200
Enable gist.github.com paste code highlighting by sending filename
commit f7fc4366b8a514247eaf9a6568da0632f2ee4c93
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 16:09:58 2017 +0200
Repair github by allowing other keys so it doesn't break again
commit 16cf85a74f94f5c2ab059d99dab835de643221d1
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 16:02:17 2017 +0200
Set clojure for emacs-lisp-mode for dpaste.com and dpaste.de
commit 442187a27fe32be028483367ca70aee797698148
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 15:55:59 2017 +0200
Added option lang-overrides to webpaste-provider to enable overiding of language mappings
commit 2691c6690e7a4ed5bddb1fa4c27e09aea9b61887
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 15:39:18 2017 +0200
Added ert-test for the lang-alist overrides
commit a9b651024f9360793406f51572a5732b912bb4f8
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 14:55:46 2017 +0200
Added function to apply an override list to the default list and return it
commit e282bbb8a72ea580a8d72c67873ca0b44b7c789c
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 12:58:27 2017 +0200
Added language field to dpaste.com and dpaste.de
commit e8671743d2ee6afc8ae9a42b64d1a9bdea800d67
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 12:14:15 2017 +0200
Logic to add fields to add language to post data
commit 71cab8124b596d7e8e36ac71399cd64e16f48d42
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 3 09:18:29 2017 +0200
Added a small first list of mode to language mappings.