diff options
| author | Stefan Monnier | 2012-08-08 14:56:01 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-08-08 14:56:01 -0400 |
| commit | 4250fdf5b34a9fddf6ee1cf12270d9e269c1aa6e (patch) | |
| tree | 22c8e124af42080b6bfab100b95a0441fa457c79 /lisp | |
| parent | da3d210583cd7a9a22ca6a2d07cac5bbf6fca7c1 (diff) | |
| download | emacs-4250fdf5b34a9fddf6ee1cf12270d9e269c1aa6e.tar.gz emacs-4250fdf5b34a9fddf6ee1cf12270d9e269c1aa6e.zip | |
* lisp/emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
(cl-map-extents): Add compatibility aliases.
Fixes: debbugs:12135
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 31 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl.el | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 9 |
3 files changed, 29 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d958c028ffd..f1039adc111 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals) | ||
| 4 | (cl-map-extents): Add compatibility aliases (bug#12135). | ||
| 5 | |||
| 1 | 2012-08-08 Michael Albinus <michael.albinus@gmx.de> | 6 | 2012-08-08 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * net/tramp-sh.el (tramp-find-file-exists-command): Protect the | 8 | * net/tramp-sh.el (tramp-find-file-exists-command): Protect the |
| @@ -62,8 +67,8 @@ | |||
| 62 | * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of | 67 | * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of |
| 63 | a defcustom that is quoted with backquote. | 68 | a defcustom that is quoted with backquote. |
| 64 | 69 | ||
| 65 | * calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix | 70 | * calc/calc-prog.el (math-do-defmath): Use backquote forms. |
| 66 | handling of interactive spec when the body uses return. | 71 | Fix handling of interactive spec when the body uses return. |
| 67 | (math-do-arg-check, math-define-function-body): Use backquote forms. | 72 | (math-do-arg-check, math-define-function-body): Use backquote forms. |
| 68 | * calc/calc-ext.el (math-defcache): Likewise. | 73 | * calc/calc-ext.el (math-defcache): Likewise. |
| 69 | * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise. | 74 | * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise. |
| @@ -75,8 +80,8 @@ | |||
| 75 | * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): | 80 | * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): |
| 76 | Construct menu-item directly. | 81 | Construct menu-item directly. |
| 77 | 82 | ||
| 78 | * progmodes/autoconf.el (font-lock-syntactic-keywords): Don't | 83 | * progmodes/autoconf.el (font-lock-syntactic-keywords): |
| 79 | declare. | 84 | Don't declare. |
| 80 | 85 | ||
| 81 | 2012-08-07 Chong Yidong <cyd@gnu.org> | 86 | 2012-08-07 Chong Yidong <cyd@gnu.org> |
| 82 | 87 | ||
| @@ -142,8 +147,8 @@ | |||
| 142 | * proced.el (proced): Add substitution string to docstring to | 147 | * proced.el (proced): Add substitution string to docstring to |
| 143 | trigger autoloading of the proced library on C-h f (Bug#1768). | 148 | trigger autoloading of the proced library on C-h f (Bug#1768). |
| 144 | 149 | ||
| 145 | * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't | 150 | * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): |
| 146 | show defvars which have no second argument (Bug#8638). | 151 | Don't show defvars which have no second argument (Bug#8638). |
| 147 | 152 | ||
| 148 | * imenu.el (imenu-generic-expression): Move documentation here | 153 | * imenu.el (imenu-generic-expression): Move documentation here |
| 149 | from imenu--generic-function. | 154 | from imenu--generic-function. |
| @@ -221,8 +226,8 @@ | |||
| 221 | 226 | ||
| 222 | * files.el (file-truename): Don't skip symlink-chasing part on | 227 | * files.el (file-truename): Don't skip symlink-chasing part on |
| 223 | windows-nt. Incorporate the resolution of 8+3 short aliases on | 228 | windows-nt. Incorporate the resolution of 8+3 short aliases on |
| 224 | Windows into the loop that recursively chases symlinks. Compare | 229 | Windows into the loop that recursively chases symlinks. |
| 225 | directory and its parent case-insensitively on MS-Windows and | 230 | Compare directory and its parent case-insensitively on MS-Windows and |
| 226 | MS-DOS. | 231 | MS-DOS. |
| 227 | 232 | ||
| 228 | 2012-08-03 Chong Yidong <cyd@gnu.org> | 233 | 2012-08-03 Chong Yidong <cyd@gnu.org> |
| @@ -500,7 +505,7 @@ | |||
| 500 | 505 | ||
| 501 | 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca> | 506 | 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca> |
| 502 | 507 | ||
| 503 | * progmodes/python.el (python-mode-map): Added keybinding for | 508 | * progmodes/python.el (python-mode-map): Add keybinding for |
| 504 | run-python. | 509 | run-python. |
| 505 | (python-shell-make-comint): Fix pop-to-buffer call. | 510 | (python-shell-make-comint): Fix pop-to-buffer call. |
| 506 | (run-python): Autoload. New arg SHOW. | 511 | (run-python): Autoload. New arg SHOW. |
| @@ -516,8 +521,8 @@ | |||
| 516 | 521 | ||
| 517 | 2012-07-27 Tassilo Horn <tsdh@gnu.org> | 522 | 2012-07-27 Tassilo Horn <tsdh@gnu.org> |
| 518 | 523 | ||
| 519 | * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add | 524 | * textmodes/reftex-vars.el (reftex-label-alist-builtin): |
| 520 | support for the lstlisting and minted environments, and for the | 525 | Add support for the lstlisting and minted environments, and for the |
| 521 | ctable macro. | 526 | ctable macro. |
| 522 | * textmodes/reftex.el (reftex-compile-variables): Also recognize | 527 | * textmodes/reftex.el (reftex-compile-variables): Also recognize |
| 523 | labels written in keyvals syntax. | 528 | labels written in keyvals syntax. |
| @@ -532,8 +537,8 @@ | |||
| 532 | * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el) | 537 | * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el) |
| 533 | ($(lisp)/calendar/diary-loaddefs.el) | 538 | ($(lisp)/calendar/diary-loaddefs.el) |
| 534 | ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el) | 539 | ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el) |
| 535 | ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes | 540 | ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. |
| 536 | failures in parallel bootstrap because subdirs.el is being | 541 | Fixes failures in parallel bootstrap because subdirs.el is being |
| 537 | rewritten while the autoload files are built at the same time, | 542 | rewritten while the autoload files are built at the same time, |
| 538 | which needs to load subdirs.el. | 543 | which needs to load subdirs.el. |
| 539 | 544 | ||
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index 8174de786c7..c9ed9efe0c5 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el | |||
| @@ -686,6 +686,11 @@ from ARGLIST using FUNC: (define-modify-macro incf (&optional (n 1)) +)" | |||
| 686 | (define-obsolete-function-alias 'cl-hash-table-p 'hash-table-p "24.2") | 686 | (define-obsolete-function-alias 'cl-hash-table-p 'hash-table-p "24.2") |
| 687 | (define-obsolete-function-alias 'cl-hash-table-count 'hash-table-count "24.2") | 687 | (define-obsolete-function-alias 'cl-hash-table-count 'hash-table-count "24.2") |
| 688 | 688 | ||
| 689 | (define-obsolete-function-alias 'cl-map-keymap-recursively | ||
| 690 | 'cl--map-keymap-recursively "24.2") | ||
| 691 | (define-obsolete-function-alias 'cl-map-intervals 'cl--map-intervals "24.2") | ||
| 692 | (define-obsolete-function-alias 'cl-map-extents 'cl--map-overlays "24.2") | ||
| 693 | |||
| 689 | (defun cl-maclisp-member (item list) | 694 | (defun cl-maclisp-member (item list) |
| 690 | (declare (obsolete member "24.2")) | 695 | (declare (obsolete member "24.2")) |
| 691 | (while (and list (not (equal item (car list)))) (setq list (cdr list))) | 696 | (while (and list (not (equal item (car list)))) (setq list (cdr list))) |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 99677551a47..666e31f690f 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -776,9 +776,12 @@ Reinitialize the face according to the `defface' specification." | |||
| 776 | (default-boundp (eval (nth 1 form) lexical-binding))) | 776 | (default-boundp (eval (nth 1 form) lexical-binding))) |
| 777 | ;; Force variable to be bound. | 777 | ;; Force variable to be bound. |
| 778 | (set-default (eval (nth 1 form) lexical-binding) | 778 | (set-default (eval (nth 1 form) lexical-binding) |
| 779 | ;; The value may be quoted with quote or backquote. | 779 | ;; The second arg is an expression that evaluates to |
| 780 | (eval (eval (nth 2 form) lexical-binding) | 780 | ;; an expression. The second evaluation is the one |
| 781 | lexical-binding)) | 781 | ;; normally performed not be normal execution but by |
| 782 | ;; custom-initialize-set (for example), which does not | ||
| 783 | ;; use lexical-binding. | ||
| 784 | (eval (eval (nth 2 form) lexical-binding))) | ||
| 782 | form) | 785 | form) |
| 783 | ;; `defface' is macroexpanded to `custom-declare-face'. | 786 | ;; `defface' is macroexpanded to `custom-declare-face'. |
| 784 | ((eq (car form) 'custom-declare-face) | 787 | ((eq (car form) 'custom-declare-face) |