summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAlexander Klimov <alserkli@inbox.ru>2010-09-06 00:03:56 +0200
committerStefan Monnier <monnier@iro.umontreal.ca>2010-09-06 00:03:56 +0200
commit3fa0dc8f4dcf7142f23668cceb39435eea8de6e5 (patch)
treef66494d5d98e89fef9d4d36ed7ea45a065625128 /lisp
parentae1362a3c849773874dfbf9e32b9a9e8cddb4f01 (diff)
downloademacs-3fa0dc8f4dcf7142f23668cceb39435eea8de6e5.tar.gz
* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
* lisp/files.el (directory-abbrev-alist): Use \` as default regexp.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/files.el4
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 21eaa4c15d3..2d4ef5611bb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,6 @@
-2010-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
+2010-09-05 Alexander Klimov <alserkli@inbox.ru> (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).
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
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)