aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-08 13:09:49 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-08 13:09:49 +0000
commitee610c65c445eea9a8ad8867d89a59cfa75347b7 (patch)
treec3958309bb23ac4fd5d6dce7c7c0ccaf587c2263 /doom.d
parent116cfec8116b0919717969a0684166f014c8afcb (diff)
downloaddotfiles-ee610c65c445eea9a8ad8867d89a59cfa75347b7.tar.gz
dotfiles-ee610c65c445eea9a8ad8867d89a59cfa75347b7.tar.bz2
dotfiles-ee610c65c445eea9a8ad8867d89a59cfa75347b7.zip
~string= for test in cl-pushnew lookup-provider
:test string= makes it so cl-pushnew will test if there are any "Libgen" records already in the alist before pushing. Basically, unique records.
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/modules/config.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org
index a945178..278ed3c 100644
--- a/doom.d/modules/config.org
+++ b/doom.d/modules/config.org
@@ -28,8 +28,9 @@ Load the literate.el file to start parsing.
(setq display-line-numbers-type nil)
(display-battery-mode 1)
(setq-default frame-title-format '("%b - εmacs"))
-(cl-pushnew '("Libgen" "https://libgen.me/search/all?search=%s") +lookup-provider-url-alist :key #'car)
+(cl-pushnew '("Libgen" "https://libgen.me/search/all?search=%s") +lookup-provider-url-alist :key #'car :test 'string=)
#+END_SRC
+
Some quality of life things and others that I couldn't really put in one category
- Displaying line numbers isn't usually something I do. If need be, I'll just
open them with *<SPC>tl*.