[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103990: Fix next-file command in eta
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103990: Fix next-file command in etags.el. |
Date: |
Sun, 24 Apr 2011 14:47:17 -0400 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 103990
author: Uday S Reddy <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sun 2011-04-24 14:47:17 -0400
message:
Fix next-file command in etags.el.
* lisp/progmodes/etags.el (next-file): Don't use set-buffer to change
buffers (Bug#8478).
* doc/lisp/maintaining.texi (List Tags): Document next-file.
modified:
doc/emacs/ChangeLog
doc/emacs/maintaining.texi
lisp/ChangeLog
lisp/progmodes/etags.el
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog 2011-04-23 03:07:16 +0000
+++ b/doc/emacs/ChangeLog 2011-04-24 18:47:17 +0000
@@ -1,3 +1,8 @@
+2011-04-24 Chong Yidong <address@hidden>
+
+ * maintaining.texi (List Tags): Document next-file. Suggested by
+ Uday S Reddy.
+
2011-04-23 Juanma Barranquero <address@hidden>
* mini.texi (Minibuffer Edit):
=== modified file 'doc/emacs/maintaining.texi'
--- a/doc/emacs/maintaining.texi 2011-04-20 17:39:39 +0000
+++ b/doc/emacs/maintaining.texi 2011-04-24 18:47:17 +0000
@@ -2326,6 +2326,12 @@
You can also use the collection of tag names to complete a symbol
name in the buffer. @xref{Symbol Completion}.
+ You can use @kbd{M-x next-file} to visit the files in the selected
+tags table. The first time this command is called, it visits the
+first file in the tags table. Each subsequent call visits the next
+file in the table, unless a prefix argument is supplied, in which case
+it returns to the first file.
+
@node EDE
@section Emacs Development Environment
@cindex EDE (Emacs Development Environment)
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-04-24 00:24:30 +0000
+++ b/lisp/ChangeLog 2011-04-24 18:47:17 +0000
@@ -1,3 +1,8 @@
+2011-04-24 Uday S Reddy <address@hidden> (tiny change)
+
+ * progmodes/etags.el (next-file): Don't use set-buffer to change
+ buffers (Bug#8478).
+
2011-04-24 Chong Yidong <address@hidden>
* files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
=== modified file 'lisp/progmodes/etags.el'
--- a/lisp/progmodes/etags.el 2011-04-22 18:44:26 +0000
+++ b/lisp/progmodes/etags.el 2011-04-24 18:47:17 +0000
@@ -1756,9 +1756,9 @@
(with-current-buffer buffer
(revert-buffer t t)))
(if (not (and new novisit))
- (set-buffer (find-file-noselect next novisit))
+ (find-file next novisit)
;; Like find-file, but avoids random warning messages.
- (set-buffer (get-buffer-create " *next-file*"))
+ (switch-to-buffer (get-buffer-create " *next-file*"))
(kill-all-local-variables)
(erase-buffer)
(setq new next)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103990: Fix next-file command in etags.el.,
Chong Yidong <=