diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-09-04 16:03:52 -0400 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-09-04 16:03:52 -0400 |
| commit | 52b1cc79158456792284ec9dd10f1231ea4f62b7 (patch) | |
| tree | 58801164765422aa165aef49d28f0b2488d7a836 | |
| parent | 224e313d3bed309a304683c83afe58752cb97e1c (diff) | |
| download | emacs-52b1cc79158456792284ec9dd10f1231ea4f62b7.tar.gz | |
* lisp/emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
| -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 |
