help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get Elisp reference to info files


From: Emanuel Berg
Subject: Re: get Elisp reference to info files
Date: Sat, 08 Aug 2015 00:41:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> In an Info page, `w' will copy the reference to the
> current node (the `(%s)%s' part of your format
> string).

OK, so it will look like this:

(defun Info-get-reference ()
  (interactive)
  (let*((node  (Info-copy-current-node-name))
        (ref   (format "(info \"%s\")" node)) )
    (message "Killed: %s" ref)
    (kill-new ref)) )

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]