branch: externals/org
commit 84118cad6ba1da0a9c21464ca0a368fed26223ea
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    Fix icorrect call to `skip-char-backward' in 1517ead2aa
    
    * lisp/org-cycle.el (org-cycle-show-empty-lines): Remove incorrect []
    inside argument.  They mean searching for literal [ and ], not as in
    regexp.
---
 lisp/org-cycle.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-cycle.el b/lisp/org-cycle.el
index c61aa47ec8..3f90701ac5 100644
--- a/lisp/org-cycle.el
+++ b/lisp/org-cycle.el
@@ -784,7 +784,7 @@ Always show empty lines at the end of file."
   ;; Never hide empty lines at the end of the file.
   (save-excursion
     (goto-char (point-max))
-    (skip-chars-backward "[ \t\n]")
+    (skip-chars-backward " \t\n")
     (org-fold-region (point) (point-max) nil 'outline)))
 
 (defun org-cycle-hide-archived-subtrees (state)

Reply via email to