Skip to content

Commit

Permalink
Fix warnings about single quotes in docstrings
Browse files Browse the repository at this point in the history
This commit fixes "docstring has wrong usage of unescaped single quotes"
warnings. Closes skeeto#507.
  • Loading branch information
ZharMeny authored and skeeto committed Mar 31, 2024
1 parent 55fb162 commit 5c05a1e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion elfeed-lib.el
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
(require 'xml)

(defun elfeed-expose (function &rest args)
"Return an interactive version of FUNCTION, 'exposing' it to the user."
"Return an interactive version of FUNCTION, \"exposing\" it to the user."
(lambda () (interactive) (apply function args)))

(defun elfeed-goto-line (n)
Expand Down
10 changes: 5 additions & 5 deletions elfeed.el
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Items in this list can also be list whose car is the feed URL
and cdr is a list of symbols to be applied to all discovered
entries as tags (\"autotags\"). For example,
(setq elfeed-feeds '(\"http://foo/\"
(setq elfeed-feeds \\='(\"http://foo/\"
\"http://bar/\"
(\"http://baz/\" comic)))
Expand Down Expand Up @@ -575,14 +575,14 @@ REMOVE.
Examples,
(elfeed-make-tagger :feed-url \"youtube\\\\.com\"
:add '(video youtube))
:add \\='(video youtube))
(elfeed-make-tagger :before \"1 week ago\"
:remove 'unread)
:remove \\='unread)
(elfeed-make-tagger :feed-url \"example\\\\.com\"
:entry-title '(not \"something interesting\")
:add 'junk)
:entry-title \\='(not \"something interesting\")
:add \\='junk)
The returned function should be added to `elfeed-new-entry-hook'."
(let ((after-time (and after (elfeed-time-duration after)))
Expand Down
4 changes: 2 additions & 2 deletions xml-query.el
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ A query is a list of matchers.
- KEYWORD: filters to an attribute value (must be last)
- * (an asterisk symbol): filters to content strings (must be last)
For example, to find all the 'alternate' link URL in a typical
For example, to find all the \"alternate\" link URL in a typical
Atom feed:
(xml-query-all '(feed entry link [rel \"alternate\"] :href) xml)"
(xml-query-all \\='(feed entry link [rel \"alternate\"] :href) xml)"
(if (null query)
xml
(cl-destructuring-bind (matcher . rest) query
Expand Down

0 comments on commit 5c05a1e

Please sign in to comment.