diff options
author | Glenn Morris <rgm@gnu.org> | 2007-08-14 08:41:06 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-08-14 08:41:06 +0000 |
commit | 05d61686c6b5430884fb2c92dd762df6044eb3d2 (patch) | |
tree | cc9cf62d3cb61fc9d0b2c1ef7b561b936c7c6299 /lisp/emulation/cua-base.el | |
parent | 697a1e4ddbc2b5e124048ce95f0aac69fe952539 (diff) | |
download | emacs-05d61686c6b5430884fb2c92dd762df6044eb3d2.tar.gz emacs-05d61686c6b5430884fb2c92dd762df6044eb3d2.tar.bz2 emacs-05d61686c6b5430884fb2c92dd762df6044eb3d2.zip |
Move CUA-mode check to `bad-packages-alist'.
Diffstat (limited to 'lisp/emulation/cua-base.el')
-rw-r--r-- | lisp/emulation/cua-base.el | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el index d0ec55781e7..6e420b36242 100644 --- a/lisp/emulation/cua-base.el +++ b/lisp/emulation/cua-base.el @@ -1601,22 +1601,6 @@ shifted movement key, set `cua-highlight-region-shift-only'." (interactive) (setq cua--debug (not cua--debug))) -;; Install run-time check for older versions of CUA-mode which does not -;; work with GNU Emacs version 22.1 and newer. -;; -;; Except for version 1.2, all of the 1.x and 2.x version of cua-mode -;; provided the `CUA-mode' feature. Since this is no longer true, -;; we can warn the user if the `CUA-mode' feature is ever provided. - -;;;###autoload (eval-after-load 'CUA-mode -;;;###autoload '(error (concat "\n\n" -;;;###autoload "CUA-mode is now part of the standard GNU Emacs distribution, so you may\n" -;;;###autoload "now enable CUA via the Options menu or by customizing option `cua-mode'.\n\n" -;;;###autoload "You have loaded an older version of CUA-mode which does\n" -;;;###autoload "not work correctly with this version of GNU Emacs.\n\n" -;;;###autoload (if user-init-file (concat -;;;###autoload "To correct this, remove the loading and customization of the\n" -;;;###autoload "old version from the " user-init-file " file.\n\n"))))) (provide 'cua) |