summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/autoload.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index f15863f2631..5171d142c24 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -266,12 +266,11 @@ feature, otherwise it will be based on FILE's name."
";;; Code:\n\n"
" \n"
;; This is used outside of autoload.el.
- (if feature
- (concat "(provide '"
- (if (stringp feature) feature
- (file-name-sans-extension basename))
- ")\n")
- "")
+ "(provide '"
+ (if (stringp feature)
+ feature
+ (file-name-sans-extension basename))
+ ")\n"
";; Local Variables:\n"
";; version-control: never\n"
";; no-byte-compile: t\n"