From 4c4399f767c27c9768242c7063be913cdc227492 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sun, 14 Oct 2018 16:00:38 +0200 Subject: 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). --- deb-view.el | 5 ----- 1 file changed, 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 -- cgit v1.2.3