aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorStefan Monnier2012-07-10 07:51:54 -0400
committerStefan Monnier2012-07-10 07:51:54 -0400
commitf58e0fd503567288bb30e243595acaa589034929 (patch)
treee40cb0a5c087c0af4bdd41948d655358b0fcd56e /admin
parentdfa96edd13d1db4a90fa0977d06b6bdeab2f642e (diff)
downloademacs-f58e0fd503567288bb30e243595acaa589034929.tar.gz
emacs-f58e0fd503567288bb30e243595acaa589034929.zip
Reduce use of (require 'cl).
* admin/bzrmerge.el: Use cl-lib. * leim/quail/hangul.el: Don't require CL. * leim/quail/ipa.el: Use cl-lib. * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el: * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el: * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el: * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el: * international/quail.el, info-xref.el, imenu.el, image-mode.el: * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el: * battery.el, avoid.el, abbrev.el: Use cl-lib. * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el: * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el: * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el: * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el: * calculator.el, autorevert.el, apropos.el: Don't require CL. * emacs-bytecomp.el (byte-recompile-directory, display-call-tree) (byte-compile-unfold-bcf, byte-compile-check-variable): * emacs-byte-opt.el (byte-compile-trueconstp) (byte-compile-nilconstp): * emacs-autoload.el (make-autoload): Use pcase. * face-remap.el (text-scale-adjust): Simplify pcase patterns.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog34
-rw-r--r--admin/bzrmerge.el9
2 files changed, 23 insertions, 20 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 5ae49cd4b7a..6c5b1342d32 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,7 @@
12012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * bzrmerge.el: Use cl-lib.
4
12012-07-09 Paul Eggert <eggert@cs.ucla.edu> 52012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Rename configure.in to configure.ac (Bug#11603). 7 Rename configure.in to configure.ac (Bug#11603).
@@ -30,8 +34,8 @@
30 * coccinelle: New subdirectory 34 * coccinelle: New subdirectory
31 * coccinelle/README: Documentation stub. 35 * coccinelle/README: Documentation stub.
32 * coccinelle/vector_contents.cocci: Semantic patch to replace direct 36 * coccinelle/vector_contents.cocci: Semantic patch to replace direct
33 access to `contents' member of Lisp_Vector objects with AREF and ASET 37 access to `contents' member of Lisp_Vector objects with AREF and ASET
34 where appropriate. 38 where appropriate.
35 39
362012-06-22 Paul Eggert <eggert@cs.ucla.edu> 402012-06-22 Paul Eggert <eggert@cs.ucla.edu>
37 41
@@ -50,9 +54,9 @@
50 54
512012-06-13 Andreas Schwab <schwab@linux-m68k.org> 552012-06-13 Andreas Schwab <schwab@linux-m68k.org>
52 56
53 * make-emacs: Rename --union-type to --check-lisp-type. Define 57 * make-emacs: Rename --union-type to --check-lisp-type.
54 CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE. 58 Define CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE.
55 * CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from 59 * CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Rename from
56 USE_LISP_UNION_TYPE. 60 USE_LISP_UNION_TYPE.
57 61
582012-06-03 Glenn Morris <rgm@gnu.org> 622012-06-03 Glenn Morris <rgm@gnu.org>
@@ -223,11 +227,11 @@
223 227
224 * unidata/makefile.w32-in (all): Remove src/biditype.h and 228 * unidata/makefile.w32-in (all): Remove src/biditype.h and
225 src/bidimirror.h. 229 src/bidimirror.h.
226 (../../src/biditype.h, ../../src/bidimirror.h): Deleted. 230 (../../src/biditype.h, ../../src/bidimirror.h): Delete.
227 231
228 * unidata/Makefile.in (all): Remove src/biditype.h and 232 * unidata/Makefile.in (all): Remove src/biditype.h and
229 src/bidimirror.h. 233 src/bidimirror.h.
230 (../../src/biditype.h, ../../src/bidimirror.h): Deleted. 234 (../../src/biditype.h, ../../src/bidimirror.h): Delete.
231 235
2322011-07-07 Juanma Barranquero <lekktu@gmail.com> 2362011-07-07 Juanma Barranquero <lekktu@gmail.com>
233 237
@@ -238,8 +242,8 @@
238 242
239 * unidata/unidata-gen.el (unidata-dir): New variable. 243 * unidata/unidata-gen.el (unidata-dir): New variable.
240 (unidata-setup-list): Expand unidata-text-file in unidata-dir. 244 (unidata-setup-list): Expand unidata-text-file in unidata-dir.
241 (unidata-prop-alist): INDEX element may be a function. New 245 (unidata-prop-alist): INDEX element may be a function.
242 optional element VAL-LIST (for general-category and bidi-class). 246 New optional element VAL-LIST (for general-category and bidi-class).
243 New entry `mirroring'. 247 New entry `mirroring'.
244 (unidata-prop-default, unidata-prop-val-list): New subst. 248 (unidata-prop-default, unidata-prop-val-list): New subst.
245 (unidata-get-character, unidata-put-character): Delete them. 249 (unidata-get-character, unidata-put-character): Delete them.
@@ -595,13 +599,13 @@
595 599
5962009-04-17 Kenichi Handa <handa@m17n.org> 6002009-04-17 Kenichi Handa <handa@m17n.org>
597 601
598 * unidata/unidata-gen.el (unidata-get-decomposition): Adjust 602 * unidata/unidata-gen.el (unidata-get-decomposition):
599 Hangle decomposition rule to Unicode. 603 Adjust Hangle decomposition rule to Unicode.
600 604
6012009-04-09 Kenichi Handa <handa@m17n.org> 6052009-04-09 Kenichi Handa <handa@m17n.org>
602 606
603 * unidata/unidata-gen.el (unidata-describe-decomposition): Return 607 * unidata/unidata-gen.el (unidata-describe-decomposition):
604 a string with a composition property to disable combining 608 Return a string with a composition property to disable combining
605 characters being composed. 609 characters being composed.
606 610
6072009-03-11 Miles Bader <miles@gnu.org> 6112009-03-11 Miles Bader <miles@gnu.org>
@@ -1096,7 +1100,7 @@
1096 1100
10972005-10-17 Bill Wohler <wohler@newt.com> 11012005-10-17 Bill Wohler <wohler@newt.com>
1098 1102
1099 * FOR-RELEASE (DOCUMENTATION): Removed lisp/toolbar from list 1103 * FOR-RELEASE (DOCUMENTATION): Remove lisp/toolbar from list
1100 since it's gone. Also marked mh-e as done. 1104 since it's gone. Also marked mh-e as done.
1101 1105
11022005-10-11 Juanma Barranquero <lekktu@gmail.com> 11062005-10-11 Juanma Barranquero <lekktu@gmail.com>
@@ -1143,7 +1147,7 @@
1143 1147
11442005-03-30 Marcelo Toledo <marcelo@marcelotoledo.org> 11482005-03-30 Marcelo Toledo <marcelo@marcelotoledo.org>
1145 1149
1146 * FOR-RELEASE (Documentation): Added check the Emacs Tutorial. 1150 * FOR-RELEASE (Documentation): Add check the Emacs Tutorial.
1147 The first line of every tutorial must begin with a sentence saying 1151 The first line of every tutorial must begin with a sentence saying
1148 "Emacs Tutorial" in the respective language. This should be 1152 "Emacs Tutorial" in the respective language. This should be
1149 followed by "See end for copying conditions", likewise in the 1153 followed by "See end for copying conditions", likewise in the
diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el
index 15238f44d9d..4f5cee14737 100644
--- a/admin/bzrmerge.el
+++ b/admin/bzrmerge.el
@@ -24,8 +24,7 @@
24 24
25;;; Code: 25;;; Code:
26 26
27(eval-when-compile 27(eval-when-compile (require 'cl-lib))
28 (require 'cl)) ; assert
29 28
30(defvar bzrmerge-skip-regexp 29(defvar bzrmerge-skip-regexp
31 "back[- ]?port\\|merge\\|sync\\|re-?generate\\|bump version\\|from trunk\\|\ 30 "back[- ]?port\\|merge\\|sync\\|re-?generate\\|bump version\\|from trunk\\|\
@@ -256,17 +255,17 @@ Does not make other difference."
256 ;; Do a "skip" (i.e. merge the meta-data only). 255 ;; Do a "skip" (i.e. merge the meta-data only).
257 (setq beg (1- (car skip))) 256 (setq beg (1- (car skip)))
258 (while (and skip (or (null merge) (< (car skip) (car merge)))) 257 (while (and skip (or (null merge) (< (car skip) (car merge))))
259 (assert (> (car skip) (or end beg))) 258 (cl-assert (> (car skip) (or end beg)))
260 (setq end (pop skip))) 259 (setq end (pop skip)))
261 (message "Skipping %s..%s" beg end) 260 (message "Skipping %s..%s" beg end)
262 (bzrmerge-add-metadata from end)) 261 (bzrmerge-add-metadata from end))
263 262
264 (t 263 (t
265 ;; Do a "normal" merge. 264 ;; Do a "normal" merge.
266 (assert (or (null skip) (< (car merge) (car skip)))) 265 (cl-assert (or (null skip) (< (car merge) (car skip))))
267 (setq beg (1- (car merge))) 266 (setq beg (1- (car merge)))
268 (while (and merge (or (null skip) (< (car merge) (car skip)))) 267 (while (and merge (or (null skip) (< (car merge) (car skip))))
269 (assert (> (car merge) (or end beg))) 268 (cl-assert (> (car merge) (or end beg)))
270 (setq end (pop merge))) 269 (setq end (pop merge)))
271 (message "Merging %s..%s" beg end) 270 (message "Merging %s..%s" beg end)
272 (if (with-temp-buffer 271 (if (with-temp-buffer