Function: semantic-grammar-buffer-file

semantic-grammar-buffer-file is a byte-compiled function defined in grammar.el.gz.

Signature

(semantic-grammar-buffer-file &optional BUFFER)

Documentation

Return name of file sans directory BUFFER is visiting.

No argument or nil as argument means use the current buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(defsubst semantic-grammar-buffer-file (&optional buffer)
  "Return name of file sans directory BUFFER is visiting.
No argument or nil as argument means use the current buffer."
  (file-name-nondirectory (buffer-file-name buffer)))