Add file-local-name
commit22946702b4296c0e42e4baf6221e205b52d05cbf
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 20 Nov 2016 15:29:47 +0000 (20 16:29 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 20 Nov 2016 15:29:47 +0000 (20 16:29 +0100)
treea81e506e5176351677c8f677e32cde6236d1b070
parent26c45889259682af0fbf05bccf7f084408860125
Add file-local-name

* doc/lispref/files.texi (Magic File Names): Add `file-local-name'.
(Unique File Names): Use it.

* etc/NEWS: Mention `file-local-name'.

* lisp/files.el (file-local-name): New defun.
(file-expand-wildcards):
* lisp/eshell/em-tramp.el (eshell/su, eshell/sudo):
* lisp/eshell/esh-ext.el (eshell-remote-command):
* lisp/eshell/esh-proc.el (eshell-gather-process-output):
* lisp/org/ob-core.el (org-babel-local-file-name):
* lisp/progmodes/gud.el (gud-common-init, gud-format-command):
* lisp/progmodes/python.el (python-shell-send-file):
* lisp/shell.el (shell):
* lisp/vc/ediff-diff.el (ediff-same-file-contents):
* lisp/vc/vc-git.el (vc-git-checkin): Use it.
12 files changed:
doc/lispref/files.texi
etc/NEWS
lisp/eshell/em-tramp.el
lisp/eshell/esh-ext.el
lisp/eshell/esh-proc.el
lisp/files.el
lisp/org/ob-core.el
lisp/progmodes/gud.el
lisp/progmodes/python.el
lisp/shell.el
lisp/vc/ediff-diff.el
lisp/vc/vc-git.el