From cf9af0165be6030aea7bfd446c12a79862486d6b Mon Sep 17 00:00:00 2001
From: Nils Wallménius <nils@rockbox.org>
Date: Tue, 12 Oct 2010 13:14:17 +0000
Subject: Don't include manual section for the 'Load to ram' option if the
 option isn't there and use 'disk' macro that expands to the proper storage
 type.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28250 a1c6a512-1295-4272-9138-f99709370657
---
 manual/rockbox_interface/tagcache.tex | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'manual/rockbox_interface/tagcache.tex')

diff --git a/manual/rockbox_interface/tagcache.tex b/manual/rockbox_interface/tagcache.tex
index dd2f0f0a8a..74f6363f63 100644
--- a/manual/rockbox_interface/tagcache.tex
+++ b/manual/rockbox_interface/tagcache.tex
@@ -35,17 +35,19 @@ its subdirectories will be scanned and added to the database.
 \subsection{\label{ref:databasemenu}The Database Menu}
 
 \begin{description}
-  \opt{swcodec}{
+  \opt{tc_ramcache}{
   \item[Load To RAM]
-    The database can either be kept on disk (to save memory), or
+    The database can either be kept on \disk{} (to save memory), or
     loaded into RAM (for fast browsing). Setting this to \setting{Yes} loads
     the database to RAM, allowing faster browsing and searching. Setting this
-    option to \setting{No} keeps the database on the disk, meaning slower 
+    option to \setting{No} keeps the database on the \disk{}, meaning slower 
     browsing but it does not use extra RAM and saves some battery on boot up. 
     
+    \opt{HAVE_DISK_STORAGE}{
     \note{If you browse your music frequently using the database, you should
       load to RAM, as this will reduce the overall battery consumption because
       the disk will not need to spin on each search.}
+    }
   }
   
 \item[Auto Update]
-- 
cgit v1.2.3

