all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* funcall with hard-quote inside cl-labels behavior changed?
@ 2015-01-25 23:54 Dmitry Gutov
  2015-01-27  1:58 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Gutov @ 2015-01-25 23:54 UTC (permalink / raw)
  To: emacs-devel, Stefan Monnier

Hi!

In emacs-24 the below snippet returns (:global :local), whereas in 
master now, (:local :local). Is that a bug, or an improvement?

(defun foo ()
   :global)

(cl-labels ((foo () :local))
   (list (funcall 'foo) (funcall #'foo)))


This question was triggered by 
https://github.com/bbatsov/emacs-lisp-style-guide/issues/7.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: funcall with hard-quote inside cl-labels behavior changed?
  2015-01-25 23:54 funcall with hard-quote inside cl-labels behavior changed? Dmitry Gutov
@ 2015-01-27  1:58 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-01-27  1:58 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: emacs-devel

> In emacs-24 the below snippet returns (:global :local), whereas in master
> now, (:local :local). Is that a bug, or an improvement?

It'd be a bug in master.


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-27  1:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-25 23:54 funcall with hard-quote inside cl-labels behavior changed? Dmitry Gutov
2015-01-27  1:58 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.