summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-11-14 00:05:50 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-11-14 00:05:50 +0100
commitb48da39ed487b41d6fcfb5eb07c79ed2a880f0bd (patch)
treeb1ce12945e3b474a55ea5437212e68f8557cd5ac
parent8bbb789757d6f8c1ac0778f908a2cd2f238cd42f (diff)
downloadorg-mode-b48da39ed487b41d6fcfb5eb07c79ed2a880f0bd.tar.gz
org-id: Use lexical binding
* lisp/org-id.el (org-id-get-with-outline-drilling): Remove unused optional argument.
-rw-r--r--lisp/org-id.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-id.el b/lisp/org-id.el
index f86ef22..8062348 100644
--- a/lisp/org-id.el
+++ b/lisp/org-id.el
@@ -1,4 +1,4 @@
-;;; org-id.el --- Global identifiers for Org-mode entries
+;;; org-id.el --- Global identifiers for Org entries -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2008-2015 Free Software Foundation, Inc.
;;
@@ -278,7 +278,7 @@ If necessary, the ID is created."
(move-marker pom nil))))
;;;###autoload
-(defun org-id-get-with-outline-drilling (&optional targets)
+(defun org-id-get-with-outline-drilling ()
"Use an outline-cycling interface to retrieve the ID of an entry.
This only finds entries in the current buffer, using `org-get-location'.
It returns the ID of the entry. If necessary, the ID is created."