Function: project-am-last-dir

project-am-last-dir is a byte-compiled function defined in project-am.el.gz.

Signature

(project-am-last-dir FILE)

Documentation

Return the last part of a directory name.

Argument FILE is the file to extract the end directory name from.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/project-am.el.gz
;;; Generic useful functions

(defun project-am-last-dir (file)
  "Return the last part of a directory name.
Argument FILE is the file to extract the end directory name from."
  (let* ((s (file-name-directory file))
	 (d (directory-file-name s))
	 )
    (file-name-nondirectory d))
  )