Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d82cfc0c
Commit
d82cfc0c
authored
Jun 10, 1994
by
Richard M. Stallman
Browse files
Require dired and dired-aux in the standard way.
parent
80ec9ac5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
lisp/dired-x.el
lisp/dired-x.el
+4
-20
No files found.
lisp/dired-x.el
View file @
d82cfc0c
...
@@ -101,28 +101,12 @@
...
@@ -101,28 +101,12 @@
;;; here in case the user has autoloaded dired-x via the dired-jump key binding
;;; here in case the user has autoloaded dired-x via the dired-jump key binding
;;; (instead of autoloading to dired as is suggested in the info-pages).
;;; (instead of autoloading to dired as is suggested in the info-pages).
;;; WARNING: The copy of dired.el in GNU Emacs versions earlier than 19.20 had
(
require
'dired
)
;;; the `provide' *after* the `run-hooks'. In such a case, loading dired below
;;; will cause an infinite loop. To prevent this we test the value of the GNU
;;; Emacs major version number before requiring dired.
(
if
(
string<
"19.19"
;; Compare with major version number (i.e., 19.22 not 19.22.11).
(
substring
emacs-version
0
(
and
(
string-match
"^[0-9]*\\.[0-9]*"
emacs-version
)
(
match-end
0
))))
(
require
'dired
))
;;; We will redefine some functions and also need some macros so we need to
;;; We will redefine some functions and also need some macros so we need to
;;; load dired stuff of GNU Emacs. Since dired-aux.el (at least up to GNU
;;; load dired stuff of GNU Emacs.
;;; Emacs 19.22) does not `provide' itself, we do it here. This avoids the
;;; possibility recursive loading because of the nasty `eval-when-compile' that
(
require
'dired-aux
)
;;; is in dired-aux.el.
(
and
(
not
(
featurep
'dired-aux
))
(
load
"dired-aux"
nil
t
)
(
not
(
featurep
'dired-aux
))
(
provide
'dired-aux
))
;;;; User-defined variables.
;;;; User-defined variables.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment