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

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

Re: How to get the full path of the file I'm editing?


From: Armando Cambra
Subject: Re: How to get the full path of the file I'm editing?
Date: Mon, 18 Feb 2008 09:09:17 +0100

Hi,

I made a function for this (disclaimer: I'm in no way a lisp hacker :-))

(defun insert-filename ()
  (interactive)
  (insert
   (buffer-file-name)
   )
  )

Regards

Armando


On Feb 18, 2008 8:52 AM, Forrest Y. Yu <forrest.yu@gmail.com> wrote:
Hi,

  I want to get the full path of the file I'm editing. How can I do it?

  Many thanks!

Regards,
Forrest

--
Stupid is as stupid does.


reply via email to

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