[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste ee5b4ed 141/298: Move function declaration of the
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste ee5b4ed 141/298: Move function declaration of the get-lang-alist-with-overrides function up |
Date: |
Thu, 9 Dec 2021 19:00:01 -0500 (EST) |
branch: elpa/webpaste
commit ee5b4ed971251a989399b567bb9dfffcfce037c4
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>
Move function declaration of the get-lang-alist-with-overrides function up
---
webpaste.el | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/webpaste.el b/webpaste.el
index 0fd17ec..fc7d717 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -138,6 +138,20 @@ each run.")
+(defun webpaste/get-lang-alist-with-overrides (overrides)
+ "Fetches lang-alist with OVERRIDES applied."
+
+ ;; Copy original list to temporary list
+ (let ((lang-alist webpaste/default-lang-alist))
+ ;; Go through list of overrides and append them to the temporary list
+ (dolist (override-element overrides)
+ (cl-pushnew override-element lang-alist))
+
+ ;; Return temporary list
+ lang-alist))
+
+
+
(cl-defun webpaste-provider (&key uri
post-field
success-lambda
@@ -286,20 +300,6 @@ return it to the user."
-(defun webpaste/get-lang-alist-with-overrides (overrides)
- "Fetches lang-alist with OVERRIDES applied."
-
- ;; Copy original list to temporary list
- (let ((lang-alist webpaste/default-lang-alist))
- ;; Go through list of overrides and append them to the temporary list
- (dolist (override-element overrides)
- (cl-pushnew override-element lang-alist))
-
- ;; Return temporary list
- lang-alist))
-
-
-
(defun webpaste/get-provider-priority ()
"Return provider priority."
- [nongnu] elpa/webpaste 7d08f87 254/298: integration-tests: Change filtering of local/ci provider tests, (continued)
- [nongnu] elpa/webpaste 7d08f87 254/298: integration-tests: Change filtering of local/ci provider tests, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste afbcf6f 273/298: Merge branch 'comfort-paste', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 4e410b0 272/298: Add example config to README with 'pasting buffer OR region' function, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 0760361 278/298: docs: Fix all warnings regarding docstrings, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 5e963e8 275/298: Fix bug in webpaste-paste-buffer-or-region when you don't have a region, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9662b1c 280/298: Bump version number and copyright year, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 3c9d2e8 284/298: Merge branch 'github-actions', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 4ec1645 297/298: Readme: Update branch name, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 92a5867 088/298: Spaces, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste ca539eb 101/298: Rename and update tests for provider priority, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste ee5b4ed 141/298: Move function declaration of the get-lang-alist-with-overrides function up,
ELPA Syncer <=
- [nongnu] elpa/webpaste 0df8ea0 144/298: Hide some options from customize, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 7bd2cec 148/298: Added support to open created pastes in browser, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste d37a904 160/298: Fix POST bug for several providers, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 30e78d6 164/298: Refactored the error callbacks, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste d27e571 182/298: Added integration tests for paste.pound-python.org, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 76d4ddb 162/298: Update test to test the right function, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 4937b30 177/298: Change integration test to contain a link to webpaste in the pasted message, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6b0043b 181/298: Added integration tests for dpaste.de, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 505ffb3 189/298: Switched all webpaste/whatever to webpaste-watever to comply with elisp guidelines, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 0546284 176/298: Added types to some defcustom missing it, ELPA Syncer, 2021/12/09