aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2008-01-30 07:11:04 +0000
committerMiles Bader2008-01-30 07:11:04 +0000
commit02cbe062bee38a6705bafb1699d77e3c44cfafcf (patch)
tree5baf1e4df4c3357ae78bf937e37430c593ed3337
parent6dcf341ad3ba1208b3401169e50c024040d95a96 (diff)
parent4bd81fde833444fe510c465706aec4134e1ae403 (diff)
downloademacs-02cbe062bee38a6705bafb1699d77e3c44cfafcf.tar.gz
emacs-02cbe062bee38a6705bafb1699d77e3c44cfafcf.zip
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1024
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/files.el3
-rw-r--r--lisp/progmodes/etags.el7
3 files changed, 15 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b2f810910a1..686d54fb3cf 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12008-01-30 Richard Stallman <rms@gnu.org>
2
3 * progmodes/etags.el (tags-query-replace): Delete unused optional args.
4 Doc fix.
5
6 * files.el (hack-local-variables): Don't query about fake variables.
7
12008-01-30 Markus Triska <markus.triska@gmx.at> 82008-01-30 Markus Triska <markus.triska@gmx.at>
2 9
3 * linum.el: New file. 10 * linum.el: New file.
@@ -202,7 +209,7 @@
202 * vc.el (vc-exec-after): For mode-line-process highlighting, if 209 * vc.el (vc-exec-after): For mode-line-process highlighting, if
203 `compile' is not available, fall back to font-lock-warning-face. 210 `compile' is not available, fall back to font-lock-warning-face.
204 211
2052008-01-26 Phil Sung <psung@mit.edu> (tiny change) 2122008-01-26 Phil Sung <psung@mit.edu> (tiny change)
206 213
207 * wdired.el (wdired-get-filename): Change `(1+ beg)' to `beg' so 214 * wdired.el (wdired-get-filename): Change `(1+ beg)' to `beg' so
208 that the filename end is found even when the filename is empty. 215 that the filename end is found even when the filename is empty.
diff --git a/lisp/files.el b/lisp/files.el
index 61af6df8a69..c790aa58810 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2839,7 +2839,8 @@ is specified, returning t if it is specified."
2839 (dolist (elt result) 2839 (dolist (elt result)
2840 (let ((var (car elt)) 2840 (let ((var (car elt))
2841 (val (cdr elt))) 2841 (val (cdr elt)))
2842 (or (eq var 'mode) 2842 ;; Don't query about the fake variables.
2843 (or (memq var '(mode unibyte coding))
2843 (and (eq var 'eval) 2844 (and (eq var 'eval)
2844 (or (eq enable-local-eval t) 2845 (or (eq enable-local-eval t)
2845 (hack-one-local-variable-eval-safep 2846 (hack-one-local-variable-eval-safep
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 55128933259..32aecdd8295 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1815,7 +1815,7 @@ See documentation of variable `tags-file-name'."
1815 (tags-loop-continue (or file-list-form t)))) 1815 (tags-loop-continue (or file-list-form t))))
1816 1816
1817;;;###autoload 1817;;;###autoload
1818(defun tags-query-replace (from to &optional delimited file-list-form start end) 1818(defun tags-query-replace (from to &optional delimited file-list-form)
1819 "Do `query-replace-regexp' of FROM with TO on all files listed in tags table. 1819 "Do `query-replace-regexp' of FROM with TO on all files listed in tags table.
1820Third arg DELIMITED (prefix arg) means replace only word-delimited matches. 1820Third arg DELIMITED (prefix arg) means replace only word-delimited matches.
1821If you exit (\\[keyboard-quit], RET or q), you can resume the query replace 1821If you exit (\\[keyboard-quit], RET or q), you can resume the query replace
@@ -1824,7 +1824,10 @@ Fourth arg FILE-LIST-FORM non-nil means initialize the replacement loop.
1824Fifth and sixth arguments START and END are accepted, for compatibility 1824Fifth and sixth arguments START and END are accepted, for compatibility
1825with `query-replace-regexp', and ignored. 1825with `query-replace-regexp', and ignored.
1826 1826
1827See also documentation of the variable `tags-file-name'." 1827If FILE-LIST-FORM is non-nil, it is a form to evaluate to
1828produce the list of files to search.
1829
1830See also the documentation of the variable `tags-file-name'."
1828 (interactive (query-replace-read-args "Tags query replace (regexp)" t t)) 1831 (interactive (query-replace-read-args "Tags query replace (regexp)" t t))
1829 (setq tags-loop-scan `(let ,(unless (equal from (downcase from)) 1832 (setq tags-loop-scan `(let ,(unless (equal from (downcase from))
1830 '((case-fold-search nil))) 1833 '((case-fold-search nil)))