unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13034: defaliased funcs do not have docstring
@ 2012-11-30  0:06 Juanma Barranquero
  2012-11-30  0:14 ` Juanma Barranquero
  0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2012-11-30  0:06 UTC (permalink / raw)
  To: 13034

Package: emacs
Version: 24.3.50


(defun my-func () "This is my func." nil)
(defalias 'my-other-func (lambda () t) "This is my other func.")

(documentation 'my-other-func)
   24.2.50 => "This is my other func."
   trunk => nil





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

* bug#13034: defaliased funcs do not have docstring
  2012-11-30  0:06 bug#13034: defaliased funcs do not have docstring Juanma Barranquero
@ 2012-11-30  0:14 ` Juanma Barranquero
  2012-11-30 17:31   ` Juanma Barranquero
  0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2012-11-30  0:14 UTC (permalink / raw)
  To: 13034

retitle 13034 defalias docstring ignored

Sorry, the example is wrong and misleading, and wrong too. Not to
mention the subject.

Let me try again:

(defun my-func () "This is my func." nil)
(defalias 'my-other-func 'my-func "This is my other func.")

(documentation 'my-other-func)
24.2.50 => "This is my other func."
24.3.50 => "This is my func."





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

* bug#13034: defaliased funcs do not have docstring
  2012-11-30  0:14 ` Juanma Barranquero
@ 2012-11-30 17:31   ` Juanma Barranquero
  0 siblings, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2012-11-30 17:31 UTC (permalink / raw)
  To: 13034-done

Fixed in revno:111042.





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

end of thread, other threads:[~2012-11-30 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30  0:06 bug#13034: defaliased funcs do not have docstring Juanma Barranquero
2012-11-30  0:14 ` Juanma Barranquero
2012-11-30 17:31   ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).