mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(finder-compile-keywords): Use lm-keywords-list rather than lm-keywords.
This commit is contained in:
parent
1fb07b5bb6
commit
67f63a7a75
1 changed files with 4 additions and 6 deletions
|
|
@ -138,7 +138,7 @@ finder-inf\\|esh-groups\\|subdirs\\)\\.el$\\)"
|
|||
Optional arguments DIRS are a list of Emacs Lisp directories to compile from;
|
||||
no arguments compiles from `load-path'."
|
||||
(save-excursion
|
||||
(let (processed summary keystart keywords)
|
||||
(let (processed summary keywords)
|
||||
(find-file generated-finder-keywords-file)
|
||||
(setq buffer-undo-list t)
|
||||
(erase-buffer)
|
||||
|
|
@ -159,7 +159,7 @@ no arguments compiles from `load-path'."
|
|||
(with-temp-buffer
|
||||
(insert-file-contents (expand-file-name f d))
|
||||
(setq summary (lm-synopsis)
|
||||
keywords (lm-keywords)))
|
||||
keywords (lm-keywords-list)))
|
||||
(insert
|
||||
(format " (\"%s\"\n "
|
||||
(if (string-match "\\.\\(gz\\|Z\\)$" f)
|
||||
|
|
@ -167,10 +167,8 @@ no arguments compiles from `load-path'."
|
|||
f)))
|
||||
(prin1 summary (current-buffer))
|
||||
(insert "\n ")
|
||||
(setq keystart (point))
|
||||
(insert (if keywords (format "(%s)" keywords) "nil")
|
||||
")\n")
|
||||
(subst-char-in-region keystart (point) ?, ? )))
|
||||
(princ keywords (current-buffer))
|
||||
(insert ")\n")))
|
||||
(directory-files d nil
|
||||
;; Allow compressed files also. FIXME:
|
||||
;; generalize this, especially for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue