Remove obsolete function and docs related to planner-directory.
authorJohn Sullivan <john@wjsullivan.net>
Sun, 15 Feb 2009 09:32:55 +0000 (15 04:32 -0500)
committerJohn Sullivan <john@wjsullivan.net>
Sun, 15 Feb 2009 09:32:55 +0000 (15 04:32 -0500)
ChangeLog
planner-el.texi
planner.el

index 7dc9c17..eed366f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-02-15  John Sullivan  <john@wjsullivan.net>
 
+       * planner.el (planner-annotation-from-file-relative): Delete this
+       function; nothing is using it.
+
+       * planner-el.texi: Remove obsolete mentions of planner-directory.
+
        * planner-multi.el (planner-multi-read-name): Using SPC as the
        planner-multi-separator no longer breaks SPC completion for other
        Emacs functions. Closes #11953.
index 79cd13a..dae7219 100644 (file)
@@ -1112,7 +1112,7 @@ following lines:
 
 This will bring up the most recent day page with unfinished tasks or
 create a new day page if necessary. By default, planner pages are
-stored in @samp{~/Plans} (@code{planner-directory}).
+stored in @samp{~/Plans}.
 
 @menu
 * Tasks::                       
@@ -1530,8 +1530,7 @@ You should see a file that looks like this:
 @end example
 
 You can type anything you want into this file.  You can add or delete
-sections.  When you save, Emacs stores your information in
-@code{planner-directory}.
+sections.  
 
 Use the following commands to navigate through day pages:
 
@@ -5700,13 +5699,8 @@ contents of the day page.
 @cindex variables, customization of
 @cindex configuration, advanced, variables
 
-If you want to change @code{planner-directory} and some other
-variables, either use Customize (@kbd{M-x customize-group RET planner
-RET}) or use @code{setq}.  An example of the latter follows.
-
-@example
-(setq planner-directory "~/Plans")
-@end example
+You can use Customize (@kbd{M-x customize-group RET planner RET}) to
+set user variables.
 
 Other user options are:
 
index 09d9259..259f70f 100644 (file)
@@ -1732,12 +1732,6 @@ Date pages are not linked."
   (when (eq major-mode 'dired-mode)
     (planner-make-link default-directory)))
 
-(defun planner-annotation-from-file-relative ()
-  "Return the filename of the current buffer relative to `planner-directory'."
-  (when buffer-file-name
-    (planner-make-link (file-relative-name buffer-file-name
-                                           (planner-directory))
-                       nil t)))
 (custom-add-option 'planner-annotation-functions
                    'planner-annotation-from-dired)