diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/emacs-lisp/gv.el | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bc34cbdcf0b..9088ca44af5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places. + 2013-09-04 Xue Fuqiao <xfq.free@gmail.com> * vc/vc.el (vc-ignore): Rewrite. diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el index 279ae582a05..8a5841a5fad 100644 --- a/lisp/emacs-lisp/gv.el +++ b/lisp/emacs-lisp/gv.el @@ -102,7 +102,9 @@ DO must return an Elisp expression." ;; Follow aliases. (setq me (cons (symbol-function head) (cdr place)))) (if (eq me place) - (error "%S is not a valid place expression" place) + (if (and (symbolp head) (get head 'setf-method)) + (error "Incompatible place needs recompilation: %S" head) + (error "%S is not a valid place expression" place)) (gv-get me do))))))) ;;;###autoload |