Browse Source

org-id: Use lexical binding

* lisp/org-id.el (org-id-get-with-outline-drilling): Remove unused
  optional argument.
Nicolas Goaziou 9 năm trước cách đây
mục cha
commit
b48da39ed4
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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."