]> git.eshelyaron.com Git - emacs.git/commitdiff
(defun-cvs-mode): Put `definition-name' property on
authorJuri Linkov <juri@jurta.org>
Thu, 8 Dec 2005 07:49:07 +0000 (07:49 +0000)
committerJuri Linkov <juri@jurta.org>
Thu, 8 Dec 2005 07:49:07 +0000 (07:49 +0000)
the constructed function name fun-1.

lisp/pcvs.el

index 1e9f1bce7ce36c49ab300fe32c9801bf48ad9148..0f0ff76ed0cf09cfa8db48286960e6fa4859ddd6 100644 (file)
@@ -775,6 +775,7 @@ clear what alternative to use.
 For interactive use, use `" (symbol-name fun) "' instead.")
             ,interact
             ,@body)
+          (put ',fun-1 'definition-name ',fun)
           (defun ,fun ()
             ,(concat line1 "\nWrapper function that switches to a *cvs* buffer
 before calling the real function `" (symbol-name fun-1) "'.\n")