From: Tim Vaughan Date: Wed, 11 Sep 2019 15:37:09 +0000 (+0200) Subject: Replaced add-to-list with push. X-Git-Tag: v2.0.0 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=commitdiff_plain;h=1025f7696c36af639ec2a2be4a19473fe4115a28 Replaced add-to-list with push. Fixes byte compilation error. --- diff --git a/elpher.el b/elpher.el index 9af26de..8fbc60e 100644 --- a/elpher.el +++ b/elpher.el @@ -1208,7 +1208,7 @@ If ADDRESS is already bookmarked, update the label only." (let ((link-map nil) (b (next-button (point-min) t))) (while b - (add-to-list 'link-map (cons (button-label b) b)) + (push (cons (button-label b) b) link-map) (setq b (next-button (button-start b)))) link-map))