eldocでerrorが出る

あとで調べるためのメモ。
OS Xに自分でコンパイルして入れたemacs-23.1.92でeldocがerror吐く。
別環境のLinuxでは大丈夫なのでMac側だけ何か違うんだろう。

eldoc error: (invalid-function (eldoc-docstring-format-sym-doc (sym doc face) (let* ((function-name (propertize (symbol-name sym) (quote face) face)) (spec (format %s %s(%s) function-name (if (get sym (quote usable-from)) (format <%d> (get sym (quote usable-from))) ) doc)) (docstring (or (eldoc-docstring-first-line (documentation sym t)) Undocumented.)) (docstring (propertize docstring (quote face) (quote font-lock-doc-face))) (fulldoc (format %s: %s spec docstring)) (ea-width (1- (window-width (minibuffer-window))))) (cond ((or (<= (length fulldoc) ea-width) (eq eldoc-echo-area-use-multiline-p t) (and eldoc-echo-area-use-multiline-p (> (length docstring) ea-width))) fulldoc) ((> (length docstring) ea-width) (substring docstring 0 ea-width)) ((>= (- (length fulldoc) (length spec)) ea-width) docstring) (t (setq spec (substring spec (- (length fulldoc) ea-width))) (format %s: %s spec docstring))))))