diff lisp/progmodes/meta-mode.el @ 60142:d1fdce4dfc73

(meta-mark-active): Fix condition to just use `mark-active' when defined.
author David Kastrup <dak@gnu.org>
date Fri, 18 Feb 2005 14:28:24 +0000
parents 49550f69cc8d
children f2892faa87d4 bf0d492ea2d5
line wrap: on
line diff
--- a/lisp/progmodes/meta-mode.el	Fri Feb 18 07:08:18 2005 +0000
+++ b/lisp/progmodes/meta-mode.el	Fri Feb 18 14:28:24 2005 +0000
@@ -898,7 +898,7 @@
 ;; Compatibility: XEmacs doesn't have the  `mark-active' variable.
 (defun meta-mark-active ()
   "Return whether the mark and region are currently active in this buffer."
-  (or (and (boundp 'mark-active) mark-active) (mark)))
+  (if (boundp 'mark-active) mark-active (mark)))