diff options
author | Karl Heuer <kwzh@gnu.org> | 1997-10-24 19:50:35 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1997-10-24 19:50:35 +0000 |
commit | 1bae9c7a801fc75f0ea5e5993a5415d2f3f637f8 (patch) | |
tree | ee4c1e56f75f7b135cdbe4125ec16707dece192d /lisp/help.el | |
parent | 3f284a6c1083d54958c32256f3b94cccec3eedff (diff) | |
download | emacs-1bae9c7a801fc75f0ea5e5993a5415d2f3f637f8.tar.gz |
(locate-library): Comment out the code that searches
for compressed files.
Diffstat (limited to 'lisp/help.el')
-rw-r--r-- | lisp/help.el | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/lisp/help.el b/lisp/help.el index cc322482f14..8fdcc7c8d48 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -707,8 +707,7 @@ is used instead of `load-path'." (interactive (list (read-string "Locate library: ") nil nil t)) - (let (result - (jka-compr-inhibit t)) + (let (result) (catch 'answer (mapcar (lambda (dir) @@ -722,19 +721,22 @@ is used instead of `load-path'." (throw 'answer try))))) (if nosuffix '("") - (let ((basic '(".elc" ".el" "")) - (compressed '(".Z" ".gz" ""))) - ;; If autocompression mode is on, - ;; consider all combinations of library suffixes - ;; and compression suffixes. - (if (rassq 'jka-compr-handler file-name-handler-alist) - (apply 'nconc - (mapcar (lambda (compelt) - (mapcar (lambda (baselt) - (concat baselt compelt)) - basic)) - compressed)) - basic))))) + '(".elc" ".el" "") +;;; load doesn't handle this yet. +;;; (let ((basic '(".elc" ".el" "")) +;;; (compressed '(".Z" ".gz" ""))) +;;; ;; If autocompression mode is on, +;;; ;; consider all combinations of library suffixes +;;; ;; and compression suffixes. +;;; (if (rassq 'jka-compr-handler file-name-handler-alist) +;;; (apply 'nconc +;;; (mapcar (lambda (compelt) +;;; (mapcar (lambda (baselt) +;;; (concat baselt compelt)) +;;; basic)) +;;; compressed)) +;;; basic)) + ))) (or path load-path))) (and interactive-call (if result |