aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/eieio.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7452455efec..5198f1f55ba 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2
3 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4
12014-03-12 Martin Rudalics <rudalics@gmx.at> 52014-03-12 Martin Rudalics <rudalics@gmx.at>
2 6
3 * window.el (fit-frame-to-buffer): Get maximum width from 7 * window.el (fit-frame-to-buffer): Get maximum width from
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el
index a1b5b381571..566821ede91 100644
--- a/lisp/emacs-lisp/eieio.el
+++ b/lisp/emacs-lisp/eieio.el
@@ -246,13 +246,13 @@ Where each VAR is the local variable given to the associated
246SLOT. A slot specified without a variable name is given a 246SLOT. A slot specified without a variable name is given a
247variable name of the same name as the slot." 247variable name of the same name as the slot."
248 (declare (indent 2)) 248 (declare (indent 2))
249 ;; Transform the spec-list into a symbol-macrolet spec-list. 249 ;; Transform the spec-list into a cl-symbol-macrolet spec-list.
250 (let ((mappings (mapcar (lambda (entry) 250 (let ((mappings (mapcar (lambda (entry)
251 (let ((var (if (listp entry) (car entry) entry)) 251 (let ((var (if (listp entry) (car entry) entry))
252 (slot (if (listp entry) (cadr entry) entry))) 252 (slot (if (listp entry) (cadr entry) entry)))
253 (list var `(slot-value ,object ',slot)))) 253 (list var `(slot-value ,object ',slot))))
254 spec-list))) 254 spec-list)))
255 (append (list 'symbol-macrolet mappings) 255 (append (list 'cl-symbol-macrolet mappings)
256 body))) 256 body)))
257 257
258;;; Simple generators, and query functions. None of these would do 258;;; Simple generators, and query functions. None of these would do