emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: org-add-planning missing a save-restriction.


From: Alex Bochannek
Subject: [Orgmode] Re: org-add-planning missing a save-restriction.
Date: Tue, 31 Oct 2006 00:26:07 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (windows-nt)

Yes, yes, I did the diff backwards - it's late here :-)

Alex.

Alex Bochannek <address@hidden> writes:

> $ diff -bu org.el ../org-4.52/org.el
> --- org.el      2006-10-31 00:12:14.075793700 -0800
>
> +++ ../org-4.52/org.el  2006-10-04 02:14:17.000000000 -0700
> @@ -5487,7 +5487,6 @@
>       (format-time-string (car org-time-stamp-formats) time))
>      (setq what nil))
>    (save-excursion
> -    (save-restriction
>        (let (col list elt ts buffer-invisibility-spec)
>         (org-back-to-heading t)
>         (looking-at (concat outline-regexp "\\( *\\)[^\r\n]*"))
> @@ -5537,7 +5536,7 @@
>         (widen)
>         (if (looking-at "[ \t]+\r?\n")
>             (replace-match ""))
> -       ts))))
> +      ts)))
>  
>  (defvar org-log-note-marker (make-marker))
>  (defvar org-log-note-purpose nil)
>
>
> This will make changing TODO states or assigining deadlines work in
> narrowed buffers, e.g., on a project list.
>
> Alex.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]