diff options
| author | David Kastrup | 2005-02-18 14:28:24 +0000 |
|---|---|---|
| committer | David Kastrup | 2005-02-18 14:28:24 +0000 |
| commit | 3a51abf1df61bfee39f8293c910028c2c86af16a (patch) | |
| tree | c8a7804c3d10986ce0301be9b90ce4725e29bbf9 | |
| parent | 7e53cec24ef3d4adb600dacff58d9ca4a249692b (diff) | |
| download | emacs-3a51abf1df61bfee39f8293c910028c2c86af16a.tar.gz emacs-3a51abf1df61bfee39f8293c910028c2c86af16a.zip | |
(meta-mark-active): Fix condition to just
use `mark-active' when defined.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/meta-mode.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 39b29326077..473afa9040d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-02-18 David Kastrup <dak@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/meta-mode.el (meta-mark-active): Fix condition to just | ||
| 4 | use `mark-active' when defined. | ||
| 5 | |||
| 1 | 2005-02-18 Kenichi Handa <handa@m17n.org> | 6 | 2005-02-18 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * ps-print.el (ps-font-info-database): New entry | 8 | * ps-print.el (ps-font-info-database): New entry |
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index ecf8da2e509..7bf9921b2ee 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." | |||
| 898 | ;; Compatibility: XEmacs doesn't have the `mark-active' variable. | 898 | ;; Compatibility: XEmacs doesn't have the `mark-active' variable. |
| 899 | (defun meta-mark-active () | 899 | (defun meta-mark-active () |
| 900 | "Return whether the mark and region are currently active in this buffer." | 900 | "Return whether the mark and region are currently active in this buffer." |
| 901 | (or (and (boundp 'mark-active) mark-active) (mark))) | 901 | (if (boundp 'mark-active) mark-active (mark))) |
| 902 | 902 | ||
| 903 | 903 | ||
| 904 | 904 | ||