diff options
| author | Juanma Barranquero | 2011-06-21 12:04:28 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-06-21 12:04:28 +0200 |
| commit | ae9c04116ab15e45966de6663a5a79badd6d8ab5 (patch) | |
| tree | b3679149e9a36fe5f832674806698afae54d7e69 | |
| parent | 7f3f739fa4e1351a5b8a2dcd290f79c2e3baba38 (diff) | |
| download | emacs-ae9c04116ab15e45966de6663a5a79badd6d8ab5.tar.gz emacs-ae9c04116ab15e45966de6663a5a79badd6d8ab5.zip | |
lisp/misc.el (list-dynamic-libraries): Fix computation of header fields.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/misc.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a31868f4ed1..decf71a0abc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-06-21 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * misc.el (list-dynamic-libraries--refresh): Compute header here... | ||
| 4 | (list-dynamic-libraries): ...not here. | ||
| 5 | |||
| 1 | 2011-06-21 Leo Liu <sdl.web@gmail.com> | 6 | 2011-06-21 Leo Liu <sdl.web@gmail.com> |
| 2 | 7 | ||
| 3 | * subr.el (sha1): Implement sha1 using secure-hash. | 8 | * subr.el (sha1): Implement sha1 using secure-hash. |
diff --git a/lisp/misc.el b/lisp/misc.el index e50b5b38c75..8087c7f5259 100644 --- a/lisp/misc.el +++ b/lisp/misc.el | |||
| @@ -151,6 +151,7 @@ Internal use only." | |||
| 151 | (vector (list "Library" (1+ max-id-len) t) | 151 | (vector (list "Library" (1+ max-id-len) t) |
| 152 | (list "Loaded from" (1+ max-name-len) t) | 152 | (list "Loaded from" (1+ max-name-len) t) |
| 153 | (list "Candidate names" 0 t)))) | 153 | (list "Candidate names" 0 t)))) |
| 154 | (tabulated-list-init-header) | ||
| 154 | (setq tabulated-list-entries nil) | 155 | (setq tabulated-list-entries nil) |
| 155 | (dolist (lib dynamic-library-alist) | 156 | (dolist (lib dynamic-library-alist) |
| 156 | (let* ((id (car lib)) | 157 | (let* ((id (car lib)) |
| @@ -178,7 +179,6 @@ The return value is always nil." | |||
| 178 | (tabulated-list-mode) | 179 | (tabulated-list-mode) |
| 179 | (setq tabulated-list-sort-key (cons "Library" nil)) | 180 | (setq tabulated-list-sort-key (cons "Library" nil)) |
| 180 | (add-hook 'tabulated-list-revert-hook 'list-dynamic-libraries--refresh nil t) | 181 | (add-hook 'tabulated-list-revert-hook 'list-dynamic-libraries--refresh nil t) |
| 181 | (tabulated-list-init-header) | ||
| 182 | (setq list-dynamic-libraries--loaded-only-p loaded-only-p) | 182 | (setq list-dynamic-libraries--loaded-only-p loaded-only-p) |
| 183 | (list-dynamic-libraries--refresh) | 183 | (list-dynamic-libraries--refresh) |
| 184 | (tabulated-list-print)) | 184 | (tabulated-list-print)) |