mirror of https://github.com/Flinner/dots.git
refactor: elisp indentation
This commit is contained in:
parent
e82e20ec1a
commit
f2ca3191af
|
@ -1963,11 +1963,12 @@ From: https://old.reddit.com/r/emacs/comments/hbdlv8/elfeed_mpv_youtube/fv9yhb2/
|
||||||
|
|
||||||
I wrote that, neat isn't it? :P
|
I wrote that, neat isn't it? :P
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun my/elfeed/toggle-read ()
|
(defun my/elfeed/toggle-read ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(elfeed-search-set-filter (if (s-contains? "+unread" elfeed-search-filter)
|
(elfeed-search-set-filter
|
||||||
(s-replace-regexp " ?\\+unread" "" elfeed-search-filter)
|
(if (s-contains? "+unread" elfeed-search-filter)
|
||||||
(concat elfeed-search-filter " +unread"))))
|
(s-replace-regexp " ?\\+unread" "" elfeed-search-filter)
|
||||||
|
(concat elfeed-search-filter " +unread"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Visual and binds
|
** Visual and binds
|
||||||
|
|
Loading…
Reference in New Issue