aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2015-03-26 13:32:45 -0400
committerStefan Monnier2015-03-26 13:32:45 -0400
commit8fd527eb00a0ec1d8d7cf916204c3be3e79e27da (patch)
tree1fc7bc18de53d2f2ac2e067773b867529de3970e
parent3e0fc97befc105caf8d7519f1e6fd84c67a50a35 (diff)
downloademacs-8fd527eb00a0ec1d8d7cf916204c3be3e79e27da.tar.gz
emacs-8fd527eb00a0ec1d8d7cf916204c3be3e79e27da.zip
* 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.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/emacs-lisp/cl-macs.el4
-rw-r--r--lisp/emacs-lisp/eieio.el2
3 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 37ac1c5f3c8..294bcfe7fb6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/eieio.el (defclass): Change internal name so as to make
4 sure only EIEIO files should have "eieio--" prefixes in their .elc.
5
6 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
7
12015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change) 82015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change)
2 9
3 * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177). 10 * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 5d55a1d4579..f8ddc00c3bf 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -1752,7 +1752,7 @@ An implicit nil block is established around the loop.
1752 (declare (debug ((symbolp form &optional form) cl-declarations body)) 1752 (declare (debug ((symbolp form &optional form) cl-declarations body))
1753 (indent 1)) 1753 (indent 1))
1754 (let ((loop `(dolist ,spec ,@body))) 1754 (let ((loop `(dolist ,spec ,@body)))
1755 (if (advice-member-p #'cl--wrap-in-nil-block 'dolist) 1755 (if (advice-member-p 'cl--wrap-in-nil-block 'dolist)
1756 loop `(cl-block nil ,loop)))) 1756 loop `(cl-block nil ,loop))))
1757 1757
1758;;;###autoload 1758;;;###autoload
@@ -1765,7 +1765,7 @@ nil.
1765\(fn (VAR COUNT [RESULT]) BODY...)" 1765\(fn (VAR COUNT [RESULT]) BODY...)"
1766 (declare (debug cl-dolist) (indent 1)) 1766 (declare (debug cl-dolist) (indent 1))
1767 (let ((loop `(dotimes ,spec ,@body))) 1767 (let ((loop `(dotimes ,spec ,@body)))
1768 (if (advice-member-p #'cl--wrap-in-nil-block 'dotimes) 1768 (if (advice-member-p 'cl--wrap-in-nil-block 'dotimes)
1769 loop `(cl-block nil ,loop)))) 1769 loop `(cl-block nil ,loop))))
1770 1770
1771(defvar cl--tagbody-alist nil) 1771(defvar cl--tagbody-alist nil)
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el
index 27725148ff6..bca53c0c892 100644
--- a/lisp/emacs-lisp/eieio.el
+++ b/lisp/emacs-lisp/eieio.el
@@ -130,7 +130,7 @@ and reference them using the function `class-option'."
130 (error "Method invocation order %s is not allowed" io))) 130 (error "Method invocation order %s is not allowed" io)))
131 131
132 (let ((testsym1 (intern (concat (symbol-name name) "-p"))) 132 (let ((testsym1 (intern (concat (symbol-name name) "-p")))
133 (testsym2 (intern (format "eieio--childp--%s" name))) 133 (testsym2 (intern (format "%s--eieio-childp" name)))
134 (accessors ())) 134 (accessors ()))
135 135
136 ;; Collect the accessors we need to define. 136 ;; Collect the accessors we need to define.