From 2abc1a9200ef5be03b3ceb60ff2ddfbca25d2f63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Perrin?= Date: Wed, 2 Feb 2011 21:32:38 +0100 Subject: [PATCH] In `atom-create', make ID default on SELF rather than on LINK. --- atom.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atom.el b/atom.el index 7d70ac5..d159eed 100644 --- a/atom.el +++ b/atom.el @@ -78,7 +78,7 @@ feed. SELF is the canonical URL to this feed. ID is a unique identifier for this feed. If not given, it -defaults to LINK. +defaults to SELF. AUTHOR is the author of the feed. See `atom-massage-author' for the possible ways to specify it. @@ -92,7 +92,7 @@ UPDATED is the date the feed was last updated. If not given, `(((href . ,self) (rel . "self") (type . "application/atom+xml"))))) (atom-modify-entry atom-feed 'updated (atom-format-time updated)) - (atom-modify-entry atom-feed 'id (or id link)) + (atom-modify-entry atom-feed 'id (or id self link)) atom-feed)) (defun atom-push-entry (atom entry) -- 2.43.0