emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Remove unused function.
@ 2009-11-14 16:22 Noorul Islam
  2009-11-15 13:27 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Noorul Islam @ 2009-11-14 16:22 UTC (permalink / raw)
  To: org-mode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

Hi,

Attached is the patch which removes the unused function
"org-compact-display-after-subtree-move".

Thanks and Regards
Noorul

[-- Attachment #2: org-mode.unused.diff --]
[-- Type: text/x-diff, Size: 835 bytes --]

diff --git a/lisp/org.el b/lisp/org.el
index 0c22428..b95028c 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5412,19 +5412,6 @@ This function is the default value of the hook `org-cycle-hook'."
      ((eq state 'children) (or (org-subtree-end-visible-p) (recenter 1)))
      ((eq state 'subtree)  (or (org-subtree-end-visible-p) (recenter 1))))))
 
-;; FIXME: no longer in use
-(defun org-compact-display-after-subtree-move ()
-  "Show a compacter version of the tree of the entry's parent."
-  (save-excursion
-    (if (org-up-heading-safe)
-	(progn
-	  (hide-subtree)
-	  (show-entry)
-	  (show-children)
-	  (org-cycle-show-empty-lines 'children)
-	  (org-cycle-hide-drawers 'children))
-      (org-overview))))
-
 (defun org-remove-empty-overlays-at (pos)
   "Remove outline overlays that do not contain non-white stuff."
   (mapc

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove unused function.
  2009-11-14 16:22 [PATCH] Remove unused function Noorul Islam
@ 2009-11-15 13:27 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-11-15 13:27 UTC (permalink / raw)
  To: Noorul Islam; +Cc: org-mode Mailinglist

Applied, thanks.

- Carsten

On Nov 14, 2009, at 5:22 PM, Noorul Islam wrote:

> Hi,
>
> Attached is the patch which removes the unused function
> "org-compact-display-after-subtree-move".
>
> Thanks and Regards
> Noorul
> <org-mode.unused.diff>_______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-15 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-14 16:22 [PATCH] Remove unused function Noorul Islam
2009-11-15 13:27 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).