emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Trivial fix for (void-function org-get-outline-path) in org-eldoc.
@ 2020-04-21 18:07 Jacob MacDonald
  2020-04-21 18:11 ` Jacob MacDonald
  2020-05-28  2:42 ` Kyle Meyer
  0 siblings, 2 replies; 3+ messages in thread
From: Jacob MacDonald @ 2020-04-21 18:07 UTC (permalink / raw)
  To: emacs-orgmode

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

I noticed that after updating my Org I was getting errors instead of
eldoc locations in my .org buffers. Thankfully the fix was a simple
oneliner. Patch attached.

Cheers,

Jacob.

[-- Attachment #2: 0001-org-eldoc-Fix-void-function-error-for-org-get-outlin.patch --]
[-- Type: text/x-patch, Size: 658 bytes --]

From 84881cf925df74765eceefa208bf35615e28aa32 Mon Sep 17 00:00:00 2001
From: Jacob MacDonald <jaccarmac@gmail.com>
Date: Tue, 21 Apr 2020 13:03:05 -0500
Subject: [PATCH] org-eldoc: Fix void-function error for org-get-outline-path

contrib/lis/org-eldoc.el: require org-refile for org-get-outline-path
---
 contrib/lisp/org-eldoc.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/lisp/org-eldoc.el b/contrib/lisp/org-eldoc.el
index 72b10a1fb..0da4c1c75 100644
--- a/contrib/lisp/org-eldoc.el
+++ b/contrib/lisp/org-eldoc.el
@@ -35,6 +35,7 @@
 ;;; Code:
 
 (require 'org)
+(require 'org-refile)
 (require 'ob-core)
 (require 'eldoc)
 
-- 
2.26.0


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

* Re: Trivial fix for (void-function org-get-outline-path) in org-eldoc.
  2020-04-21 18:07 Trivial fix for (void-function org-get-outline-path) in org-eldoc Jacob MacDonald
@ 2020-04-21 18:11 ` Jacob MacDonald
  2020-05-28  2:42 ` Kyle Meyer
  1 sibling, 0 replies; 3+ messages in thread
From: Jacob MacDonald @ 2020-04-21 18:11 UTC (permalink / raw)
  To: emacs-orgmode

However, looking at the list I see the existing discussion and that
there's already another patch floating. Forgive me, and I'll wait for
that one.


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

* Re: Trivial fix for (void-function org-get-outline-path) in org-eldoc.
  2020-04-21 18:07 Trivial fix for (void-function org-get-outline-path) in org-eldoc Jacob MacDonald
  2020-04-21 18:11 ` Jacob MacDonald
@ 2020-05-28  2:42 ` Kyle Meyer
  1 sibling, 0 replies; 3+ messages in thread
From: Kyle Meyer @ 2020-05-28  2:42 UTC (permalink / raw)
  To: Jacob MacDonald, emacs-orgmode

Jacob MacDonald writes:

> I noticed that after updating my Org I was getting errors instead of
> eldoc locations in my .org buffers. Thankfully the fix was a simple
> oneliner. Patch attached.

As you noted in your next message, this ended up being a part of a
larger issue and resolved with a fix for that.  But thank you for taking
the time to send a patch!


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

end of thread, other threads:[~2020-05-28  2:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 18:07 Trivial fix for (void-function org-get-outline-path) in org-eldoc Jacob MacDonald
2020-04-21 18:11 ` Jacob MacDonald
2020-05-28  2:42 ` Kyle Meyer

Code repositories for project(s) associated with this 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).