emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100020: * doc/lispref/files.texi


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100020: * doc/lispref/files.texi (Directory Names): Use \` rather than ^.
Date: Mon, 06 Sep 2010 00:03:56 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100020
author: Alexander Klimov <address@hidden>
committer: Stefan Monnier <address@hidden>
branch nick: emacs-23
timestamp: Mon 2010-09-06 00:03:56 +0200
message:
  * doc/lispref/files.texi (Directory Names): Use \` rather than ^.
  * lisp/files.el (directory-abbrev-alist): Use \` as default regexp.
modified:
  doc/lispref/ChangeLog
  doc/lispref/files.texi
  lisp/ChangeLog
  lisp/files.el
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2010-09-04 18:36:24 +0000
+++ b/doc/lispref/ChangeLog     2010-09-05 22:03:56 +0000
@@ -1,3 +1,7 @@
+2010-09-05  Alexander Klimov  <address@hidden>  (tiny change)
+
+       * files.texi (Directory Names): Use \` rather than ^.
+
 2010-08-22  Chong Yidong  <address@hidden>
 
        * modes.texi (Defining Minor Modes): Doc fix (Bug#6880).

=== modified file 'doc/lispref/files.texi'
--- a/doc/lispref/files.texi    2010-06-23 03:36:56 +0000
+++ b/doc/lispref/files.texi    2010-09-05 22:03:56 +0000
@@ -1933,7 +1933,7 @@
 abbreviations to use for file directories.  Each element has the form
 @code{(@var{from} . @var{to})}, and says to replace @var{from} with
 @var{to} when it appears in a directory name.  The @var{from} string is
-actually a regular expression; it should always start with @samp{^}.
+actually a regular expression; it should always start with @samp{\`}.
 The @var{to} string should be an ordinary absolute directory name.  Do
 not use @samp{~} to stand for a home directory in that string.  The
 function @code{abbreviate-file-name} performs these substitutions.
@@ -1946,9 +1946,9 @@
 and so on.
 
 @example
-(("^/home/fsf" . "/fsf")
- ("^/home/gp" . "/gp")
- ("^/home/gd" . "/gd"))
+(("\\`/home/fsf" . "/fsf")
+ ("\\`/home/gp" . "/gp")
+ ("\\`/home/gd" . "/gd"))
 @end example
 @end defopt
 

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-09-05 09:44:55 +0000
+++ b/lisp/ChangeLog    2010-09-05 22:03:56 +0000
@@ -1,4 +1,6 @@
-2010-09-05  Stefan Monnier  <address@hidden>
+2010-09-05  Alexander Klimov  <address@hidden>  (tiny change)
+
+       * files.el (directory-abbrev-alist): Use \` as default regexp.
 
        * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
        chars like - or ] (bug#6984).

=== modified file 'lisp/files.el'
--- a/lisp/files.el     2010-08-18 08:07:58 +0000
+++ b/lisp/files.el     2010-09-05 22:03:56 +0000
@@ -66,9 +66,9 @@
 via absolute symbolic links.  Make TO the name of the link, and FROM
 the name it is linked to."
   :type '(repeat (cons :format "%v"
-                      :value ("" . "")
+                      :value ("\\`" . "")
                       (regexp :tag "From")
-                      (regexp :tag "To")))
+                      (string :tag "To")))
   :group 'abbrev
   :group 'find-file)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]