diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-04-19 11:42:34 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-04-19 11:42:34 +0300 |
commit | 1c0977a9516b7df0ca30d28abf42a618a66b9989 (patch) | |
tree | a634ecaf499125db8db7b991828d47f962dc3924 /lisp/emacs-lisp | |
parent | 4cf86a2fa737296d26e8a02338e2bf6f26e1133a (diff) | |
download | emacs-1c0977a9516b7df0ca30d28abf42a618a66b9989.tar.gz emacs-1c0977a9516b7df0ca30d28abf42a618a66b9989.tar.bz2 emacs-1c0977a9516b7df0ca30d28abf42a618a66b9989.zip |
Add reveal-filename function instead of 3 set-generated-*-file funcs, as suggested by Glenn Morris.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index f9e691c153c..edaecd7ff19 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -86,18 +86,6 @@ that text will be copied verbatim to `generated-autoload-file'.") (defvar autoload-modified-buffers) ;Dynamically scoped var. -(defun set-generated-autoload-file (file) - "Set value of `generated-autoload-file' from FILE. - -On systems other than MS-Windows, just sets the value -of `generated-autoload-file'. On MS-Windows, converts /d/foo/bar -form passed by MSYS Make into d:/foo/bar that Emacs can grok. -This function is called from lisp/Makefile." - (when (and (eq system-type 'windows-nt) - (string-match "\\`/[a-zA-Z]/" file)) - (setq file (concat (substring file 1 2) ":" (substring file 2)))) - (setq generated-autoload-file file)) - (defun make-autoload (form file &optional expansion) "Turn FORM into an autoload or defvar for source file FILE. Returns nil if FORM is not a special autoload form (i.e. a function definition |