« Carbon Emacs | Main | elscreen-screen-modified-hook-setup »

2006年2月26日

(equal-including-properties)

[ カテゴリ: Emacsen ]

Emacs 22から(だと思う)、 equal-including-propertiesが新設されたんだけど、 仕様がよくわからん。

(equal-including-properties
 (propertize "hoge" :help-echo "hoge")
 (propertize "hoge" :help-echo "hoge"))
=> nil
(equal-including-properties
 (propertize "hoge" :help-echo 'hoge)
 (propertize "hoge" :help-echo 'hoge))
=> t

うーむ。

Comments

Post a comment




Remember Me?