diff options
| author | Alexander Klimov | 2010-09-06 00:03:56 +0200 |
|---|---|---|
| committer | Stefan Monnier | 2010-09-06 00:03:56 +0200 |
| commit | 3fa0dc8f4dcf7142f23668cceb39435eea8de6e5 (patch) | |
| tree | f66494d5d98e89fef9d4d36ed7ea45a065625128 | |
| parent | ae1362a3c849773874dfbf9e32b9a9e8cddb4f01 (diff) | |
| download | emacs-3fa0dc8f4dcf7142f23668cceb39435eea8de6e5.tar.gz emacs-3fa0dc8f4dcf7142f23668cceb39435eea8de6e5.zip | |
* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
* lisp/files.el (directory-abbrev-alist): Use \` as default regexp.
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 8 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/files.el | 4 |
4 files changed, 13 insertions, 7 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 399c07d13f5..4302da5aa27 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-09-05 Alexander Klimov <alserkli@inbox.ru> (tiny change) | ||
| 2 | |||
| 3 | * files.texi (Directory Names): Use \` rather than ^. | ||
| 4 | |||
| 1 | 2010-08-22 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-08-22 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * modes.texi (Defining Minor Modes): Doc fix (Bug#6880). | 7 | * modes.texi (Defining Minor Modes): Doc fix (Bug#6880). |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index abdd2814b56..23fd2376a57 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1933,7 +1933,7 @@ The variable @code{directory-abbrev-alist} contains an alist of | |||
| 1933 | abbreviations to use for file directories. Each element has the form | 1933 | abbreviations to use for file directories. Each element has the form |
| 1934 | @code{(@var{from} . @var{to})}, and says to replace @var{from} with | 1934 | @code{(@var{from} . @var{to})}, and says to replace @var{from} with |
| 1935 | @var{to} when it appears in a directory name. The @var{from} string is | 1935 | @var{to} when it appears in a directory name. The @var{from} string is |
| 1936 | actually a regular expression; it should always start with @samp{^}. | 1936 | actually a regular expression; it should always start with @samp{\`}. |
| 1937 | The @var{to} string should be an ordinary absolute directory name. Do | 1937 | The @var{to} string should be an ordinary absolute directory name. Do |
| 1938 | not use @samp{~} to stand for a home directory in that string. The | 1938 | not use @samp{~} to stand for a home directory in that string. The |
| 1939 | function @code{abbreviate-file-name} performs these substitutions. | 1939 | function @code{abbreviate-file-name} performs these substitutions. |
| @@ -1946,9 +1946,9 @@ and so on are normally accessed through symbolic links named @file{/fsf} | |||
| 1946 | and so on. | 1946 | and so on. |
| 1947 | 1947 | ||
| 1948 | @example | 1948 | @example |
| 1949 | (("^/home/fsf" . "/fsf") | 1949 | (("\\`/home/fsf" . "/fsf") |
| 1950 | ("^/home/gp" . "/gp") | 1950 | ("\\`/home/gp" . "/gp") |
| 1951 | ("^/home/gd" . "/gd")) | 1951 | ("\\`/home/gd" . "/gd")) |
| 1952 | @end example | 1952 | @end example |
| 1953 | @end defopt | 1953 | @end defopt |
| 1954 | 1954 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 21eaa4c15d3..2d4ef5611bb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | 2010-09-05 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2010-09-05 Alexander Klimov <alserkli@inbox.ru> (tiny change) |
| 2 | |||
| 3 | * files.el (directory-abbrev-alist): Use \` as default regexp. | ||
| 2 | 4 | ||
| 3 | * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special | 5 | * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special |
| 4 | chars like - or ] (bug#6984). | 6 | chars like - or ] (bug#6984). |
diff --git a/lisp/files.el b/lisp/files.el index f6564768ae7..02f5f8fdacf 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -66,9 +66,9 @@ Use this feature when you have directories which you normally refer to | |||
| 66 | via absolute symbolic links. Make TO the name of the link, and FROM | 66 | via absolute symbolic links. Make TO the name of the link, and FROM |
| 67 | the name it is linked to." | 67 | the name it is linked to." |
| 68 | :type '(repeat (cons :format "%v" | 68 | :type '(repeat (cons :format "%v" |
| 69 | :value ("" . "") | 69 | :value ("\\`" . "") |
| 70 | (regexp :tag "From") | 70 | (regexp :tag "From") |
| 71 | (regexp :tag "To"))) | 71 | (string :tag "To"))) |
| 72 | :group 'abbrev | 72 | :group 'abbrev |
| 73 | :group 'find-file) | 73 | :group 'find-file) |
| 74 | 74 | ||