changeset 61999:b8e64f81f45f

Fix check for CUA-mode if no init file.
author Kim F. Storm <storm@cua.dk>
date Sun, 01 May 2005 22:33:57 +0000
parents 6eaeb13eb0a9
children b5861a852e49
files lisp/emulation/cua-base.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/cua-base.el	Sun May 01 22:33:16 2005 +0000
+++ b/lisp/emulation/cua-base.el	Sun May 01 22:33:57 2005 +0000
@@ -1397,10 +1397,12 @@
 ;;;###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  (if user-init-file (concat
+;;;###autoload  "Your " (file-name-nondirectory user-init-file)
+;;;###autoload  " 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")))
+;;;###autoload  "old version from the " user-init-file " file.\n\n") ""))))
 
 (provide 'cua)