|author||Jonas Bernoulli <firstname.lastname@example.org>||2018-10-14 16:00:38 +0200|
|committer||Jonas Bernoulli <email@example.com>||2018-10-14 16:00:38 +0200|
remove broken conditional require
`view' was always required because it is not only required within the `if' but also outside. Therefore no body used this using an Emacsen that would have caused `view-less' to be loaded "instead", otherwise they would have reported a bug. So we can drop the `if` completely and stick to the unconditional (require 'view).
Diffstat (limited to 'deb-view.el')
1 files changed, 0 insertions, 5 deletions
diff --git a/deb-view.el b/deb-view.el
index 7dad836..b09b18d 100644
@@ -324,11 +324,6 @@ In dired, press ^d on the dired line of the .deb file to view.
Or, execute: ESCAPE x deb-view RETURN, and enter the .deb file name
at the prompt."
(interactive "fdeb file to view: ")
- (if (and (or (string-match "Lucid" emacs-version)
- (string-match "XEmacs" emacs-version))
- (>= emacs-major-version 21))
- (require 'view-less)
- (require 'view))
(if (< (nth 1 (file-attributes debfile)) 0)