[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el,v |
Date: |
Mon, 13 Aug 2007 13:42:09 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 07/08/13 13:41:28
Index: lisp/files.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/files.el,v
retrieving revision 1.918
retrieving revision 1.919
diff -u -b -r1.918 -r1.919
--- lisp/files.el 5 Aug 2007 12:46:33 -0000 1.918
+++ lisp/files.el 13 Aug 2007 13:40:58 -0000 1.919
@@ -1937,7 +1937,7 @@
;; c++-mode, java-mode and more) are added through autoload
;; directives in that file. That way is discouraged since it
;; spreads out the definition of the initial value.
- (mapc
+ (mapcar
(lambda (elt)
(cons (purecopy (car elt)) (cdr elt)))
`(;; do this first, so that .html.pl is Polish html, not Perl
@@ -3993,8 +3993,9 @@
(defun toggle-read-only (&optional arg)
"Change whether this buffer is visiting its file read-only.
-With arg, set read-only iff arg is positive.
-If visiting file read-only and `view-read-only' is non-nil, enter view mode."
+With prefix argument ARG, make the buffer read-only if ARG is
+positive, otherwise make it writable. If visiting file read-only
+and `view-read-only' is non-nil, enter view mode."
(interactive "P")
(if (and arg
(if (> (prefix-numeric-value arg) 0) buffer-read-only
@@ -4637,7 +4638,7 @@
(defun wildcard-to-regexp (wildcard)
"Given a shell file name pattern WILDCARD, return an equivalent regexp.
-The generated regexp will match a filename iff the filename
+The generated regexp will match a filename only if the filename
matches that wildcard according to shell rules. Only wildcards known
by `sh' are supported."
(let* ((i (string-match "[[.*+\\^$?]" wildcard))
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Michael Albinus, 2007/08/05
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Michael Albinus, 2007/08/05
- [Emacs-diffs] Changes to emacs/lisp/files.el,v,
Miles Bader <=
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Glenn Morris, 2007/08/21
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Glenn Morris, 2007/08/22
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Glenn Morris, 2007/08/23
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Glenn Morris, 2007/08/23
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Glenn Morris, 2007/08/24
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Juri Linkov, 2007/08/25
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Miles Bader, 2007/08/29
- [Emacs-diffs] Changes to emacs/lisp/files.el,v, Michael Cadilhac, 2007/08/31