From: John Sullivan Date: Sun, 15 Feb 2009 09:32:55 +0000 (-0500) Subject: Remove obsolete function and docs related to planner-directory. X-Git-Url: https://repo.or.cz/w/planner-el.git/commitdiff_plain/97221eef9bd4e7ecec599392dee3da4288099945 Remove obsolete function and docs related to planner-directory. --- diff --git a/ChangeLog b/ChangeLog index 7dc9c17..eed366f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-02-15 John Sullivan + * 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. diff --git a/planner-el.texi b/planner-el.texi index 79cd13a..dae7219 100644 --- a/planner-el.texi +++ b/planner-el.texi @@ -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: diff --git a/planner.el b/planner.el index 09d9259..259f70f 100644 --- a/planner.el +++ b/planner.el @@ -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)