Skip to content

Commit ac5f40e

Browse files
8dccetu
authored andcommitted
Fix emacs-lisp language override for bpa.st
According to the pinnwand docs [1], you can get the valid lexers by making a request to: http://<INSTANCE>/json/lexers This JSON reply currently contains: 'emacs-lisp': 'EmacsLisp' [1] https://pinnwand.readthedocs.io/en/latest/usage.html#json-lexers
1 parent 5653e09 commit ac5f40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpaste.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ This uses `browse-url-generic' to open URLs."
162162
:uri "https://bpa.st/api/v1/paste"
163163
:post-data (("expiry" . "1day"))
164164
:post-field-lambda webpaste--providers-pinnwand-request
165-
:lang-overrides ((emacs-lisp-mode . "emacs"))
165+
:lang-overrides ((emacs-lisp-mode . "emacs-lisp"))
166166
:success-lambda webpaste--providers-pinnwand-success))
167167

168168
"Define all webpaste.el providers.

0 commit comments

Comments
 (0)