[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emulation/cua-base.el
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emulation/cua-base.el |
Date: |
Fri, 21 Feb 2003 07:50:47 -0500 |
Index: emacs/lisp/emulation/cua-base.el
diff -c emacs/lisp/emulation/cua-base.el:1.17
emacs/lisp/emulation/cua-base.el:1.18
*** emacs/lisp/emulation/cua-base.el:1.17 Tue Feb 4 07:56:02 2003
--- emacs/lisp/emulation/cua-base.el Fri Feb 21 07:50:47 2003
***************
*** 1249,1252 ****
--- 1249,1268 ----
(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 21.4 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,\n"
+ ;;;###autoload "so you may now enable and customize CUA via the Options
menu.\n\n"
+ ;;;###autoload "Your " (file-name-nondirectory user-init-file) " loads an
older version of CUA-mode which does\n"
+ ;;;###autoload "not work correctly with this version of GNU Emacs.\n"
+ ;;;###autoload "To correct this, remove the loading and customization of
the\n"
+ ;;;###autoload "old version from the " user-init-file " file.\n\n")))
+
;;; cua-base.el ends here