summaryrefslogtreecommitdiff
path: root/lisp/cus-dep.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2012-06-26 12:23:01 -0400
committerSam Steingold <sds@gnu.org>2012-06-26 12:23:01 -0400
commitd2c32364fd1873a6e9cfa52d2531dfbe500ad297 (patch)
treef567c36975e6d137b55ecca8ddf856cfe6e7de0d /lisp/cus-dep.el
parent62efea5e881407a178c5c291575facc17dca8a3f (diff)
downloademacs-d2c32364fd1873a6e9cfa52d2531dfbe500ad297.tar.gz
* lisp/files.el (file-name-base): New convenience function.
* lisp/autoinsert.el, lisp/cus-dep.el, lisp/doc-view.el, lisp/image-dired.el, * lisp/woman.el, lisp/eshell/esh-cmd.el, lisp/progmodes/ada-xref.el, * lisp/progmodes/cc-defs.el, lisp/progmodes/cperl-mode.el, * lisp/progmodes/flymake.el, lisp/progmodes/gud.el, lisp/progmodes/idlwave.el, * lisp/textmodes/ispell.el, lisp/textmodes/reftex-ref.el, * lisp/textmodes/tex-mode.el: Use it. Did not touch cedet and org because they are maintained elsewhere.
Diffstat (limited to 'lisp/cus-dep.el')
-rw-r--r--lisp/cus-dep.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/cus-dep.el b/lisp/cus-dep.el
index 23f3eac5d66..cd946bdc99b 100644
--- a/lisp/cus-dep.el
+++ b/lisp/cus-dep.el
@@ -53,9 +53,7 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
(default-directory (expand-file-name subdir))
(preloaded (concat "\\`"
(regexp-opt (mapcar
- (lambda (f)
- (file-name-sans-extension
- (file-name-nondirectory f)))
+ 'file-name-base
preloaded-file-list) t)
"\\.el\\'")))
(dolist (file files)