diff lisp/modes/view.el @ 30:ec9a17fef872 r19-15b98

Import from CVS: tag r19-15b98
author cvs
date Mon, 13 Aug 2007 08:52:29 +0200
parents 0293115a14e9
children 131b0175ea99
line wrap: on
line diff
--- a/lisp/modes/view.el	Mon Aug 13 08:51:58 2007 +0200
+++ b/lisp/modes/view.el	Mon Aug 13 08:52:29 2007 +0200
@@ -36,6 +36,10 @@
 
 ;;; Code:
 
+;; XEmacs (to try to forestall complaints).
+(when (featurep 'view-less)
+  (error "Can't load view.el and view-less.el in same session."))
+
 (defvar view-highlight-face 'highlight
   ;; XEmacs change
    "*The extent face used for highlighting the match found by View mode search.")