aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-07-15 13:18:53 -0400
committerGlenn Morris2011-07-15 13:18:53 -0400
commitc65bca6520d8f3097b1c597381150fd2ffd0f886 (patch)
tree322e1b71ebaa0891852dce52dc0de718956317db
parentbd23ebc01d3a58d3f8357d97f49cf00c2ef4b585 (diff)
downloademacs-c65bca6520d8f3097b1c597381150fd2ffd0f886.tar.gz
emacs-c65bca6520d8f3097b1c597381150fd2ffd0f886.zip
Rework previous change.
* lisp/jka-compr.el (jka-compr-verbose): Move from here... * lisp/jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090) Add missing :version tag. * lisp/info.el: No need to require jka-compr when compiling.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/info.el1
-rw-r--r--lisp/jka-cmpr-hook.el6
-rw-r--r--lisp/jka-compr.el5
4 files changed, 10 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 307e4df7ae7..f99f2692bad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,9 @@
12011-07-15 Glenn Morris <rgm@gnu.org> 12011-07-15 Glenn Morris <rgm@gnu.org>
2 2
3 * info.el (info-insert-file-contents): Require jka-compr. (Bug#9090) 3 * jka-compr.el (jka-compr-verbose): Move from here...
4 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5 Add missing :version tag.
6 * info.el: No need to require jka-compr when compiling.
4 7
52011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org> 82011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6 9
diff --git a/lisp/info.el b/lisp/info.el
index 51105be6db3..a4826ee8c2c 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -463,7 +463,6 @@ be last in the list.")
463(defun info-insert-file-contents (filename &optional visit) 463(defun info-insert-file-contents (filename &optional visit)
464 "Insert the contents of an Info file in the current buffer. 464 "Insert the contents of an Info file in the current buffer.
465Do the right thing if the file has been compressed or zipped." 465Do the right thing if the file has been compressed or zipped."
466 (require 'jka-compr) ; bug #9090
467 (let* ((tail Info-suffix-list) 466 (let* ((tail Info-suffix-list)
468 (jka-compr-verbose nil) 467 (jka-compr-verbose nil)
469 (lfn (if (fboundp 'msdos-long-file-names) 468 (lfn (if (fboundp 'msdos-long-file-names)
diff --git a/lisp/jka-cmpr-hook.el b/lisp/jka-cmpr-hook.el
index e1cf2a661ed..d28fde0b214 100644
--- a/lisp/jka-cmpr-hook.el
+++ b/lisp/jka-cmpr-hook.el
@@ -39,6 +39,12 @@
39 "jka-compr customization." 39 "jka-compr customization."
40 :group 'compression) 40 :group 'compression)
41 41
42(defcustom jka-compr-verbose t
43 "If non-nil, output messages whenever compressing or uncompressing files."
44 :version "24.1"
45 :type 'boolean
46 :group 'jka-compr)
47
42;; List of all the elements we actually added to file-coding-system-alist. 48;; List of all the elements we actually added to file-coding-system-alist.
43(defvar jka-compr-added-to-file-coding-system-alist nil) 49(defvar jka-compr-added-to-file-coding-system-alist nil)
44 50
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el
index 1893e982bbb..cd769885cc6 100644
--- a/lisp/jka-compr.el
+++ b/lisp/jka-compr.el
@@ -97,11 +97,6 @@ NOTE: Not used in MS-DOS and Windows systems."
97 :type 'string 97 :type 'string
98 :group 'jka-compr) 98 :group 'jka-compr)
99 99
100(defcustom jka-compr-verbose t
101 "If non-nil, output messages whenever compressing or uncompressing files."
102 :type 'boolean
103 :group 'jka-compr)
104
105(defvar jka-compr-use-shell 100(defvar jka-compr-use-shell
106 (not (memq system-type '(ms-dos windows-nt)))) 101 (not (memq system-type '(ms-dos windows-nt))))
107 102