mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Backslash cleanup in Elisp source files
This patch should not change behavior. It typically omits backslashes where they are redundant (e.g., in the string literal "^\$"). In a few places, insert backslashes where they make regular expressions clearer: e.g., replace "^\*" (equivalent to "^*") with "^\\*", which has the same effect as a regular expression. Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs, and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with RCS IDs, as that makes it clearer that the backslash is intended.
This commit is contained in:
parent
d149ff5233
commit
284c470ef7
237 changed files with 916 additions and 914 deletions
|
|
@ -343,8 +343,8 @@ pattern-list is checked: The new headline will be marked as AGE
|
|||
if REGEXP matches the headline's TITLE-OR-DESCRIPTION.
|
||||
|
||||
If, for example, `newsticker-auto-mark-filter-list' looks like
|
||||
\((slashdot (\\='old \\='title \"^Forget me!$\") (\\='immortal \\='title \"Read me\")
|
||||
\(\\='immortal \\='all \"important\"))))
|
||||
((slashdot (\\='old \\='title \"^Forget me!$\") (\\='immortal \\='title \"Read me\")
|
||||
(\\='immortal \\='all \"important\"))))
|
||||
|
||||
then all articles from slashdot are marked as old if they have
|
||||
the title \"Forget me!\". All articles with a title containing
|
||||
|
|
@ -562,7 +562,7 @@ If non-nil only the current headline is visible.")
|
|||
"Return guid of ITEM."
|
||||
(newsticker--guid-to-string (assoc 'guid (newsticker--extra item))))
|
||||
(defsubst newsticker--enclosure (item)
|
||||
"Return enclosure element of ITEM in the form \(...FIXME...\) or nil."
|
||||
"Return enclosure element of ITEM in the form (...FIXME...) or nil."
|
||||
(let ((enclosure (assoc 'enclosure (newsticker--extra item))))
|
||||
(if enclosure
|
||||
(xml-node-attributes enclosure))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue