X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a7513ade3bc0fe79430d5541d88c9dcda0932bec..e4f761f1e3df7fbc7793c73c5d808b8da0b3a700:/lisp/misc.el diff --git a/lisp/misc.el b/lisp/misc.el index e50b5b38c7..4706c918db 100644 --- a/lisp/misc.el +++ b/lisp/misc.el @@ -1,6 +1,6 @@ ;;; misc.el --- some nonstandard editing and utility commands for Emacs -;; Copyright (C) 1989, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1989, 2001-2012 Free Software Foundation, Inc. ;; Maintainer: FSF ;; Keywords: convenience @@ -151,6 +151,7 @@ Internal use only." (vector (list "Library" (1+ max-id-len) t) (list "Loaded from" (1+ max-name-len) t) (list "Candidate names" 0 t)))) + (tabulated-list-init-header) (setq tabulated-list-entries nil) (dolist (lib dynamic-library-alist) (let* ((id (car lib)) @@ -178,7 +179,6 @@ The return value is always nil." (tabulated-list-mode) (setq tabulated-list-sort-key (cons "Library" nil)) (add-hook 'tabulated-list-revert-hook 'list-dynamic-libraries--refresh nil t) - (tabulated-list-init-header) (setq list-dynamic-libraries--loaded-only-p loaded-only-p) (list-dynamic-libraries--refresh) (tabulated-list-print))