diff options
authorJonas Bernoulli <>2018-10-14 16:00:38 +0200
committerJonas Bernoulli <>2018-10-14 16:00:38 +0200
commit4c4399f767c27c9768242c7063be913cdc227492 (patch)
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).
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)