Document image-{next, previous}-file, plus some minor tweak.
authorXue Fuqiao <xfq.free@gmail.com>
Sun, 22 Dec 2013 05:20:03 +0000 (13:20 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Sun, 22 Dec 2013 05:20:03 +0000 (13:20 +0800)
doc/emacs/ChangeLog
doc/emacs/files.texi
etc/NEWS

index de8dea7..64b77d9 100644 (file)
@@ -1,5 +1,7 @@
 2013-12-22  Xue Fuqiao  <xfq.free@gmail.com>
 
+       * files.texi (File Conveniences): Document `image-next-file' and `image-previous-file'.
+
        * display.texi (Optional Mode Line): Fix an index.
 
        * regs.texi (File Registers): Document `kmacro-to-register'.
index 4117248..c28a30b 100644 (file)
@@ -1944,6 +1944,8 @@ point.  Partial Completion mode offers other features extending
 @findex image-mode
 @findex image-toggle-display
 @findex image-toggle-animation
+@findex image-next-file
+@findex image-previous-file
 @cindex images, viewing
 @cindex image animation
 @cindex animated images
@@ -1955,7 +1957,11 @@ Displaying the file as an image works only if Emacs is compiled with
 support for displaying such images.  If the displayed image is wider
 or taller than the frame, the usual point motion keys (@kbd{C-f},
 @kbd{C-p}, and so forth) cause different parts of the image to be
-displayed.  If the image can be animated, the command @kbd{RET}
+displayed.  You can press @kbd{n} (@code{image-next-file}) and @kbd{p}
+(@code{image-previous-file}) to visit the next image file and the
+previous image file in the same directory, respectively.
+
+If the image can be animated, the command @kbd{RET}
 (@code{image-toggle-animation}) starts or stops the animation.
 Animation plays once, unless the option @code{image-animate-loop} is
 non-@code{nil}.
index 42a8142..c73c2cc 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -321,6 +321,7 @@ code run via JIT Lock.
 
 ** Calendar and Diary
 
+---
 *** New faces `calendar-weekday-header', `calendar-weekend-header',
 and `calendar-month-header'.
 
@@ -377,7 +378,7 @@ For example, this enables parsing of macros which open new namespaces.
 
 ** cl-lib
 
-*** New macro cl-tagbody.
+*** New macro `cl-tagbody'.
 
 +++
 *** letf is now just an alias for cl-letf.
@@ -464,20 +465,28 @@ module.
 *** New option `f90-smart-end-names'.
 
 ** Icomplete is a bit more like Ido.
+
 *** key bindings to navigate through and select the completions.
+
 *** The icomplete-separator is customizable, and its default has changed.
+
 *** Removed icomplete-show-key-bindings.
+
 *** Icomplete-mode by defaults applies to all forms of minibuffer completion.
 (setq icomplete-with-completion-tables '(internal-complete-buffer))
 will revert to the old behavior.
 
 ** Ido
+
 *** Ido has a manual now.
+
 *** `ido-use-virtual-buffers' takes a new value 'auto.
+
 *** `ido-decorations' has been slightly extended to give a bit more control.
 
 ** Image mode
 
++++
 *** New commands `n' (`image-next-file') and `p' (`image-previous-file')
 visit the next image file and the previous image file in the same
 directory, respectively.