[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111257: * lisp/files.el (auto-save-f
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111257: * lisp/files.el (auto-save-file-name-p): Use \` and \'. |
Date: |
Mon, 17 Dec 2012 10:51:49 -0500 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111257
fixes bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13186
author: Kevin Ryde <address@hidden>
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Mon 2012-12-17 10:51:49 -0500
message:
* lisp/files.el (auto-save-file-name-p): Use \` and \'.
modified:
lisp/ChangeLog
lisp/files.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-12-17 14:38:07 +0000
+++ b/lisp/ChangeLog 2012-12-17 15:51:49 +0000
@@ -1,3 +1,7 @@
+2012-12-17 Kevin Ryde <address@hidden>
+
+ * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
+
2012-12-17 Michael Albinus <address@hidden>
Add support for preserving ACL entries of files.
@@ -5,34 +9,34 @@
* net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
`set-file-acl' handlers.
- * net/tramp-adb.el (tramp-adb-handle-copy-file): Handle
- PRESERVE-EXTENDED-ATTRIBUTES.
-
- * net/tramp-compat.el (tramp-compat-copy-file): Handle
- PRESERVE-EXTENDED-ATTRIBUTES.
-
- * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
- `file-acl' and `set-file-acl' handlers.
- (tramp-gvfs-handle-copy-file): Handle
- PRESERVE-EXTENDED-ATTRIBUTES.
- (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl): New
- defuns.
-
- * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add
- `file-acl' and `set-file-acl' handlers.
+ * net/tramp-adb.el (tramp-adb-handle-copy-file):
+ Handle PRESERVE-EXTENDED-ATTRIBUTES.
+
+ * net/tramp-compat.el (tramp-compat-copy-file):
+ Handle PRESERVE-EXTENDED-ATTRIBUTES.
+
+ * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
+ Add `file-acl' and `set-file-acl' handlers.
+ (tramp-gvfs-handle-copy-file):
+ Handle PRESERVE-EXTENDED-ATTRIBUTES.
+ (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
+ New defuns.
+
+ * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
+ Add `file-acl' and `set-file-acl' handlers.
(tramp-remote-acl-p, tramp-sh-handle-file-acl)
(tramp-sh-handle-set-file-acl): New defuns.
- (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file): Handle
- PRESERVE-EXTENDED-ATTRIBUTES.
+ (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
+ Handle PRESERVE-EXTENDED-ATTRIBUTES.
- * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
- `file-acl' and `set-file-acl' handlers.
+ * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
+ Add `file-acl' and `set-file-acl' handlers.
(tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2012-12-17 Kelly Dean <address@hidden> (tiny change)
* help-macro.el (make-help-screen): Instead of switch-to-buffer
- use pop-to-buffer with NORECORD argument t. As buffer name use
+ use pop-to-buffer with NORECORD argument t. As buffer name, use
*Metahelp* with a leading space (Bug#13190).
2012-12-16 Romain Francoise <address@hidden>
@@ -101,8 +105,8 @@
2012-12-14 Julien Danjou <address@hidden>
- * progmodes/sql.el (sql-mode-postgres-font-lock-keywords): Update
- keywords list, data type and PL/pgSQL.
+ * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
+ Update keywords list, data type and PL/pgSQL.
2012-12-14 Dave Abrahams <address@hidden>
=== modified file 'lisp/files.el'
--- a/lisp/files.el 2012-12-16 18:22:27 +0000
+++ b/lisp/files.el 2012-12-17 15:51:49 +0000
@@ -5717,7 +5717,7 @@
(defun auto-save-file-name-p (filename)
"Return non-nil if FILENAME can be yielded by `make-auto-save-file-name'.
FILENAME should lack slashes. You can redefine this for customization."
- (string-match "^#.*#$" filename))
+ (string-match "\\`#.*#\\'" filename))
(defun wildcard-to-regexp (wildcard)
"Given a shell file name pattern WILDCARD, return an equivalent regexp.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111257: * lisp/files.el (auto-save-file-name-p): Use \` and \'.,
Stefan Monnier <=