[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste 9d3c866 233/298: WP-25: Implement support for raw
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste 9d3c866 233/298: WP-25: Implement support for raw pastes |
Date: |
Thu, 9 Dec 2021 19:00:20 -0500 (EST) |
branch: elpa/webpaste
commit 9d3c8663e0af2a718715138985a27c4c506b7d5d
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>
WP-25: Implement support for raw pastes
This fixes #25
---
webpaste.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/webpaste.el b/webpaste.el
index 0ca01f0..4ab23a5 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -409,9 +409,10 @@ Optional params:
This also depends on which provider it is since different providers might have
different opinions of how the input for their fields should look like."
- (let ((provider-lang-alist (cdr (assoc provider
webpaste--provider-lang-alists))))
- (let ((language-name (cdr (assoc major-mode provider-lang-alist))))
- language-name)))
+ (unless webpaste-paste-raw-text
+ (let ((provider-lang-alist (cdr (assoc provider
webpaste--provider-lang-alists))))
+ (let ((language-name (cdr (assoc major-mode provider-lang-alist))))
+ language-name))))
(cl-defun webpaste--return-url (returned-url)
- [nongnu] elpa/webpaste 5c63d75 196/298: Added unit test for running hooks on return, (continued)
- [nongnu] elpa/webpaste 5c63d75 196/298: Added unit test for running hooks on return, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6114da7 208/298: Refactor how integration tests are triggered, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9d026d6 212/298: Remove emacs-24.3 from build target, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste cf2ea41 218/298: Update heading levels and add a TOC, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 7c3bc88 215/298: Remove unused local variable, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9972cf4 224/298: Fix some checkdock warnings, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b1cdedb 213/298: Simplify travis file, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bd38635 253/298: [readme] Add two new suggestions for providers, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 01c2858 261/298: Fix typos, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e7fed98 246/298: Reindent entire webpaste.el to match updated indentation style, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9d3c866 233/298: WP-25: Implement support for raw pastes,
ELPA Syncer <=
- [nongnu] elpa/webpaste ef33b0f 269/298: Fix provider definition issue and add test for paste.mozilla.org, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b713d5e 259/298: travis: Drop tests for versions where cask seems to be incompatible, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2decf1e 276/298: Revert "Fix bug in webpaste-paste-buffer-or-region when you don't have a region", ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1600425 291/298: Merge branch 'dsedivec-master', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bbdc5e5 296/298: providers: Drop paste.pound-python.org, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 49a7123 236/298: Add missing TOC link about raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e0a35fd 232/298: WP-25: Add test for raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 5505685 226/298: Drop simpleclip support, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 7397cbc 220/298: Fix duplicate elements added to alists, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 69a8eed 240/298: Merge branch 'kaushalmodi-add-toml-lang-to-ptpbpw-default', ELPA Syncer, 2021/12/09