diff options
| author | Stefan Kangas | 2019-10-20 22:48:28 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2019-10-20 22:52:02 +0200 |
| commit | 987366065b5809f5707b375ce8000664249b8a4f (patch) | |
| tree | 2f61981439347adf5556d8e874e15c9c322166c6 | |
| parent | eaf85a463f3187692ccd49506e84c691c793ab46 (diff) | |
| download | emacs-987366065b5809f5707b375ce8000664249b8a4f.tar.gz emacs-987366065b5809f5707b375ce8000664249b8a4f.zip | |
Remove XEmacs compat code from meta-mode.el
* lisp/progmodes/meta-mode.el (meta-mode-menu):
(meta-mode-load-hook): Remove XEmacs compat code.
| -rw-r--r-- | lisp/progmodes/meta-mode.el | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index 8d3745be7c9..b31fe3390cb 100644 --- a/lisp/progmodes/meta-mode.el +++ b/lisp/progmodes/meta-mode.el | |||
| @@ -871,15 +871,15 @@ The environment marked is the one that contains point or follows point." | |||
| 871 | ["Indent Line" meta-indent-line t] | 871 | ["Indent Line" meta-indent-line t] |
| 872 | ["Indent Environment" meta-indent-defun t] | 872 | ["Indent Environment" meta-indent-defun t] |
| 873 | ["Indent Region" meta-indent-region | 873 | ["Indent Region" meta-indent-region |
| 874 | :active (meta-mark-active)] | 874 | :active mark-active] |
| 875 | ["Indent Buffer" meta-indent-buffer t] | 875 | ["Indent Buffer" meta-indent-buffer t] |
| 876 | "--" | 876 | "--" |
| 877 | ["Comment Out Environment" meta-comment-defun t] | 877 | ["Comment Out Environment" meta-comment-defun t] |
| 878 | ["Uncomment Environment" meta-uncomment-defun t] | 878 | ["Uncomment Environment" meta-uncomment-defun t] |
| 879 | ["Comment Out Region" meta-comment-region | 879 | ["Comment Out Region" meta-comment-region |
| 880 | :active (meta-mark-active)] | 880 | :active mark-active] |
| 881 | ["Uncomment Region" meta-uncomment-region | 881 | ["Uncomment Region" meta-uncomment-region |
| 882 | :active (meta-mark-active)] | 882 | :active mark-active] |
| 883 | "--" | 883 | "--" |
| 884 | ["Complete Symbol" completion-at-point t] | 884 | ["Complete Symbol" completion-at-point t] |
| 885 | ; "--" | 885 | ; "--" |
| @@ -888,12 +888,6 @@ The environment marked is the one that contains point or follows point." | |||
| 888 | ; ["Recenter Output Buffer" meta-recenter-output-buffer t] | 888 | ; ["Recenter Output Buffer" meta-recenter-output-buffer t] |
| 889 | )) | 889 | )) |
| 890 | 890 | ||
| 891 | ;; Compatibility: XEmacs doesn't have the `mark-active' variable. | ||
| 892 | (defun meta-mark-active () | ||
| 893 | "Return whether the mark and region are currently active in this buffer." | ||
| 894 | (if (boundp 'mark-active) mark-active (mark))) | ||
| 895 | |||
| 896 | |||
| 897 | 891 | ||
| 898 | ;;; Hook variables. | 892 | ;;; Hook variables. |
| 899 | 893 | ||