Browse Source

org-macs: Silence byte-compiler

* lisp/org-macs.el (org-save-outline-visibility): Remove unused symbol.
Nicolas Goaziou 9 years ago
parent
commit
994fe3e566
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-macs.el

+ 1 - 1
lisp/org-macs.el

@@ -296,7 +296,7 @@ but it also means that the buffer should stay alive
 during the operation, because otherwise all these markers will
 during the operation, because otherwise all these markers will
 point nowhere."
 point nowhere."
   (declare (debug (form body)) (indent 1))
   (declare (debug (form body)) (indent 1))
-  (org-with-gensyms (data rtn)
+  (org-with-gensyms (data)
     `(let ((,data (org-outline-overlay-data ,use-markers)))
     `(let ((,data (org-outline-overlay-data ,use-markers)))
        (unwind-protect
        (unwind-protect
 	   (prog1 (progn ,@body)
 	   (prog1 (progn ,@body)