diff options
| author | Stefan Monnier | 2012-07-10 07:51:54 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-07-10 07:51:54 -0400 |
| commit | f58e0fd503567288bb30e243595acaa589034929 (patch) | |
| tree | e40cb0a5c087c0af4bdd41948d655358b0fcd56e /admin | |
| parent | dfa96edd13d1db4a90fa0977d06b6bdeab2f642e (diff) | |
| download | emacs-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/ChangeLog | 34 | ||||
| -rw-r--r-- | admin/bzrmerge.el | 9 |
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 @@ | |||
| 1 | 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * bzrmerge.el: Use cl-lib. | ||
| 4 | |||
| 1 | 2012-07-09 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2012-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 | ||
| 36 | 2012-06-22 Paul Eggert <eggert@cs.ucla.edu> | 40 | 2012-06-22 Paul Eggert <eggert@cs.ucla.edu> |
| 37 | 41 | ||
| @@ -50,9 +54,9 @@ | |||
| 50 | 54 | ||
| 51 | 2012-06-13 Andreas Schwab <schwab@linux-m68k.org> | 55 | 2012-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 | ||
| 58 | 2012-06-03 Glenn Morris <rgm@gnu.org> | 62 | 2012-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 | ||
| 232 | 2011-07-07 Juanma Barranquero <lekktu@gmail.com> | 236 | 2011-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 | ||
| 596 | 2009-04-17 Kenichi Handa <handa@m17n.org> | 600 | 2009-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 | ||
| 601 | 2009-04-09 Kenichi Handa <handa@m17n.org> | 605 | 2009-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 | ||
| 607 | 2009-03-11 Miles Bader <miles@gnu.org> | 611 | 2009-03-11 Miles Bader <miles@gnu.org> |
| @@ -1096,7 +1100,7 @@ | |||
| 1096 | 1100 | ||
| 1097 | 2005-10-17 Bill Wohler <wohler@newt.com> | 1101 | 2005-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 | ||
| 1102 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> | 1106 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> |
| @@ -1143,7 +1147,7 @@ | |||
| 1143 | 1147 | ||
| 1144 | 2005-03-30 Marcelo Toledo <marcelo@marcelotoledo.org> | 1148 | 2005-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 |