Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
6185de1c
Commit
6185de1c
authored
Oct 07, 2009
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Directory Names) <abbreviate-file-name>: Document that root home
directories are not replaced with "~".
parent
11be40a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+5
-0
doc/lispref/files.texi
doc/lispref/files.texi
+7
-3
No files found.
doc/lispref/ChangeLog
View file @
6185de1c
2009-10-07 Eli Zaretskii <eliz@gnu.org>
* files.texi (Directory Names) <abbreviate-file-name>: Document
that root home directories are not replaced with "~".
2009-10-06 Eli Zaretskii <eliz@gnu.org>
* text.texi (Special Properties): Document the meaning of the
...
...
doc/lispref/files.texi
View file @
6185de1c
...
...
@@ -1957,9 +1957,13 @@ function:
@
defun
abbreviate
-
file
-
name
filename
@
anchor
{
Definition
of
abbreviate
-
file
-
name
}
This
function
applies
abbreviations
from
@
code
{
directory
-
abbrev
-
alist
}
to
its
argument
,
and
substitutes
@
samp
{~}
for
the
user
's home
directory. You can use it for directory names and for file names,
because it recognizes abbreviations even as part of the name.
to
its
argument
,
and
also
substitutes
@
samp
{~}
for
the
user
's home
directory if the argument names a file in the home directory or one of
its subdirectories. (If the home directory is a root directory, it is
not replaced with @samp{~}, because this does not make the result
shorter on many systems.) You can use it for directory names and for
file names, because it recognizes abbreviations even as part of the
name.
@end defun
@node File Name Expansion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment