<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Emacs Lisp</anon>
  </categories>
  <description>setqでは代入値左辺(リストのcar)の書き換えは出来ないが、 この汎変数を書き換えるにはsetqではなくsetfを使う。 ;; リストの値の変更 (setq l '(1 2 3)) ;; 同じことをsetqでしてもエラー (ignore-errors (setq (car l) 10)) l ; =&gt; (1 2 3) (setf (car l) 10) l ; =&gt; (10 2 3) ;; macroexpandでマクロの展開結果を見る (macroexpand '(setf (car l) 10)) ; =&gt; (setcar l 10) (setf (nth 2 l) 30) ; =&gt; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120420%2F1334894860&quot; title=&quot;汎変数 - by shigemk2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://ecx.images-amazon.com/images/I/51Wg39T8KAL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-20 13:07:40</published>
  <title>汎変数</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120420/1334894860</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
