branch: elpa/casual
commit a0a057e140998e6e1a240dde87ea2f7190d3506d
Author: Charles Choi <[email protected]>
Commit: Charles Choi <[email protected]>
Tune install copy
- Add load-library casual
---
README.org | 7 +++++--
lisp/casual.el | 4 +++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index 79320d02ba..6f32c07a2c 100644
--- a/README.org
+++ b/README.org
@@ -86,9 +86,12 @@ Configuration of a particular Casual user interface is
performed per mode. Go to
- [[file:docs/re-builder.org::*Install][Re-Builder]]
** Upgrading to Casual 2.x
-If you have installed any Casual package that is version 1.x, you should
immediately run the following command upon installation of ~casual~.
+If you have installed any Casual package that is version 1.x, you should
immediately run the following commands upon installation of ~casual~.
-~M-x~ ~casual-upgrade-base-to-version-2~
+#+BEGIN_SRC elisp
+M-x load-library casual
+M-x casual-upgrade-base-to-version-2
+#+END_SRC
This command will uninstall any Casual v1.x packages that have been superseded
by this package.
diff --git a/lisp/casual.el b/lisp/casual.el
index 70380aa1b6..f51e33f889 100644
--- a/lisp/casual.el
+++ b/lisp/casual.el
@@ -73,14 +73,16 @@
;; UPGRADING to Casual 2.x
;; If you have installed any Casual package that is version 1.x, you should
-;; immediately run the following command upon installation of casual.
+;; immediately run the following commands upon installation of casual.
+;; M-x load-libary casual
;; M-x casual-upgrade-base-to-version-2
;; This command will uninstall any Casual v1.x packages that have been
;; superseded by this package.
;;; Code:
+(require 'package)
(require 'casual-lib)
(defun casual-upgrade-base-to-version-2 (enable)