Mercurial > emacs
changeset 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 | 23d1c18f95f0 |
children | 84ff5b7a4139 |
files | lisp/ChangeLog lisp/progmodes/meta-mode.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Feb 18 07:08:18 2005 +0000 +++ b/lisp/ChangeLog Fri Feb 18 14:28:24 2005 +0000 @@ -1,3 +1,8 @@ +2005-02-18 David Kastrup <dak@gnu.org> + + * progmodes/meta-mode.el (meta-mark-active): Fix condition to just + use `mark-active' when defined. + 2005-02-18 Kenichi Handa <handa@m17n.org> * ps-print.el (ps-font-info-database): New entry
--- 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)))