diff options
| author | Stefan Monnier | 2013-09-04 16:03:52 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-09-04 16:03:52 -0400 |
| commit | 52b1cc79158456792284ec9dd10f1231ea4f62b7 (patch) | |
| tree | 58801164765422aa165aef49d28f0b2488d7a836 | |
| parent | 224e313d3bed309a304683c83afe58752cb97e1c (diff) | |
| download | emacs-52b1cc79158456792284ec9dd10f1231ea4f62b7.tar.gz emacs-52b1cc79158456792284ec9dd10f1231ea4f62b7.zip | |
* 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 @@ | |||
| 1 | 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places. | ||
| 4 | |||
| 1 | 2013-09-04 Xue Fuqiao <xfq.free@gmail.com> | 5 | 2013-09-04 Xue Fuqiao <xfq.free@gmail.com> |
| 2 | 6 | ||
| 3 | * vc/vc.el (vc-ignore): Rewrite. | 7 | * 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." | |||
| 102 | ;; Follow aliases. | 102 | ;; Follow aliases. |
| 103 | (setq me (cons (symbol-function head) (cdr place)))) | 103 | (setq me (cons (symbol-function head) (cdr place)))) |
| 104 | (if (eq me place) | 104 | (if (eq me place) |
| 105 | (error "%S is not a valid place expression" place) | 105 | (if (and (symbolp head) (get head 'setf-method)) |
| 106 | (error "Incompatible place needs recompilation: %S" head) | ||
| 107 | (error "%S is not a valid place expression" place)) | ||
| 106 | (gv-get me do))))))) | 108 | (gv-get me do))))))) |
| 107 | 109 | ||
| 108 | ;;;###autoload | 110 | ;;;###autoload |