summaryrefslogtreecommitdiff
path: root/deb-view.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2018-10-14 16:00:38 +0200
committerJonas Bernoulli <jonas@bernoul.li>2018-10-14 16:00:38 +0200
commit4c4399f767c27c9768242c7063be913cdc227492 (patch)
tree413146bc7dd3c67028ded19fb6688db153961a3b /deb-view.el
parent18ab833d25685c1662616f484e391137c05c23a9 (diff)
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')
-rw-r--r--deb-view.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/deb-view.el b/deb-view.el
index 7dad836..b09b18d 100644
--- a/deb-view.el
+++ b/deb-view.el
@@ -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))
(require 'view)
(if (< (nth 1 (file-attributes debfile)) 0)
(progn