summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-04-17 23:07:21 +0800
committerChong Yidong <cyd@gnu.org>2012-04-17 23:07:21 +0800
commit2c070447bfad37262d292fe130db7db22da822fb (patch)
tree082025b709bd1081ce01a62696c06cc78e24ca57
parent21ffa320b1ff22f00a927261348517acd37ab790 (diff)
downloademacs-2c070447bfad37262d292fe130db7db22da822fb.tar.gz
* emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/tabulated-list.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 06a794a79fb..026b99872f0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-17 Chong Yidong <cyd@gnu.org>
+
+ * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
+
2012-04-16 Alan Mackenzie <acm@muc.de>
Ensure searching for keywords is case sensitive.
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)