elisp - Emacs Lisp: Convert List to String -


"post-text" itemprop = "text">

I'm dubbing in MXS Lisp and I have the following functions Trying to write:

  (What am I trying to achieve) What am I doing to remove? (Exiting buffer file-name-entity) (last (split-string (buffer-file-name) "/")))   

Only (buffer-file-name) The file name and extension from the full path given by . However, this implementation returns a list of an item ("scratch.el") ... I (last) via (string) but it raises an error ... When I searched for Emacs list, Google did not return anything useful to change the list for the string How do I do this?

I think what you want "(file-name-nondirectory (buffer-file- Name)) "which gives a simple file name, without the information of any directory in the form of a string

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -