diff options
author | Chong Yidong <cyd@gnu.org> | 2012-04-20 16:48:50 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-04-20 16:48:50 +0800 |
commit | c07a4c0b599e0debfb10acdf02ac6559b998a88a (patch) | |
tree | f87bca47c21f04b43cca2347a21ed89c57b67958 /lisp/emacs-lisp | |
parent | 6cf2a23e297b8a57a70c2a1dab5aa28b73461b0b (diff) | |
parent | 50e5ebca7edcf5299b89ff74499991de01e22046 (diff) | |
download | emacs-c07a4c0b599e0debfb10acdf02ac6559b998a88a.tar.gz emacs-c07a4c0b599e0debfb10acdf02ac6559b998a88a.tar.bz2 emacs-c07a4c0b599e0debfb10acdf02ac6559b998a88a.zip |
Merge from emacs-24 branch
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/tabulated-list.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index f17b12da6a0..9439fba2b86 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el @@ -215,7 +215,7 @@ buffer and inserts the entries with `tabulated-list-printer'. Optional argument REMEMBER-POS, if non-nil, means to move point to the entry with the same ID element as the current line." (let ((inhibit-read-only t) - (entries (if (functionp 'tabulated-list-entries) + (entries (if (functionp tabulated-list-entries) (funcall tabulated-list-entries) tabulated-list-entries)) entry-id saved-pt saved-col) @@ -246,7 +246,7 @@ to the entry with the same ID element as the current line." (setq entries (sort entries sorter)) (if (cdr tabulated-list-sort-key) (setq entries (nreverse entries))) - (unless (functionp 'tabulated-list-entries) + (unless (functionp tabulated-list-entries) (setq tabulated-list-entries entries))))) ;; Print the resulting list. (dolist (elt entries) |