mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 14:41:11 -08:00
* lisp/emacs-lisp/cl|eieio: Minor tweaks
* lisp/emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler. * lisp/emacs-lisp/eieio.el (defclass): Change internal name so as to make sure only EIEIO files should have "eieio--" prefixes in their .elc.
This commit is contained in:
parent
3e0fc97bef
commit
8fd527eb00
3 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/eieio.el (defclass): Change internal name so as to make
|
||||
sure only EIEIO files should have "eieio--" prefixes in their .elc.
|
||||
|
||||
* emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
|
||||
|
||||
2015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change)
|
||||
|
||||
* bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
|
||||
|
|
|
|||
|
|
@ -1752,7 +1752,7 @@ An implicit nil block is established around the loop.
|
|||
(declare (debug ((symbolp form &optional form) cl-declarations body))
|
||||
(indent 1))
|
||||
(let ((loop `(dolist ,spec ,@body)))
|
||||
(if (advice-member-p #'cl--wrap-in-nil-block 'dolist)
|
||||
(if (advice-member-p 'cl--wrap-in-nil-block 'dolist)
|
||||
loop `(cl-block nil ,loop))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
@ -1765,7 +1765,7 @@ nil.
|
|||
\(fn (VAR COUNT [RESULT]) BODY...)"
|
||||
(declare (debug cl-dolist) (indent 1))
|
||||
(let ((loop `(dotimes ,spec ,@body)))
|
||||
(if (advice-member-p #'cl--wrap-in-nil-block 'dotimes)
|
||||
(if (advice-member-p 'cl--wrap-in-nil-block 'dotimes)
|
||||
loop `(cl-block nil ,loop))))
|
||||
|
||||
(defvar cl--tagbody-alist nil)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ and reference them using the function `class-option'."
|
|||
(error "Method invocation order %s is not allowed" io)))
|
||||
|
||||
(let ((testsym1 (intern (concat (symbol-name name) "-p")))
|
||||
(testsym2 (intern (format "eieio--childp--%s" name)))
|
||||
(testsym2 (intern (format "%s--eieio-childp" name)))
|
||||
(accessors ()))
|
||||
|
||||
;; Collect the accessors we need to define.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue