浏览代码

org-id: Use lexical binding

* lisp/org-id.el (org-id-get-with-outline-drilling): Remove unused
  optional argument.
Nicolas Goaziou 9 年之前
父节点
当前提交
b48da39ed4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lisp/org-id.el

+ 2 - 2
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."