diff options
author | David Kastrup <[email protected]> | 2005-02-18 14:28:24 +0000 |
---|---|---|
committer | David Kastrup <[email protected]> | 2005-02-18 14:28:24 +0000 |
commit | 3a51abf1df61bfee39f8293c910028c2c86af16a (patch) | |
tree | c8a7804c3d10986ce0301be9b90ce4725e29bbf9 /lisp/progmodes/meta-mode.el | |
parent | 7e53cec24ef3d4adb600dacff58d9ca4a249692b (diff) |
(meta-mark-active): Fix condition to just
use `mark-active' when defined.
Diffstat (limited to 'lisp/progmodes/meta-mode.el')
-rw-r--r-- | lisp/progmodes/meta-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index ecf8da2e50..7bf9921b2e 100644 --- a/lisp/progmodes/meta-mode.el +++ b/lisp/progmodes/meta-mode.el @@ -898,7 +898,7 @@ The environment marked is the one that contains point or follows point." ;; 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))) |