elisp newbie question: Can't find 'filename' function definition in org.el?

Posted by Dave Paroulek on Stack Overflow See other posts from Stack Overflow or by Dave Paroulek
Published on 2010-03-14T12:15:18Z Indexed on 2010/03/14 12:25 UTC
Read the original article Hit count: 286

Filed under:
|
|

I really love org-mode in emacs and want to customize a few things. While reading thru org.el, I'm finding several references to filename but can't find filename using describe-function?

I'm sure there's a simple answer, but I'm just learning elisp and it's not obvious. Any insight into where filename is defined? And/or if it's not a function, what is it?

For example, filename on line 25502:

         (filename (if to-buffer 
         (expand-file-name
          (concat
           (file-name-sans-extension
        (or (and subtree-p
             (org-entry-get (region-beginning)
                    "EXPORT_FILE_NAME" t))
            (file-name-nondirectory buffer-file-name)))
           "." html-extension)
          (file-name-as-directory
           (or pub-dir (org-export-directory :html opt-plist))))))

© Stack Overflow or respective owner

Related posts about elisp

Related posts about emacs