update packages
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
;;; org-indent.el --- Dynamic indentation for Org -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2023 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2025 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
@@ -103,6 +103,14 @@ For details see the variable `org-adapt-indentation'."
|
||||
:group 'org-indent
|
||||
:type 'integer)
|
||||
|
||||
(defcustom org-indent-post-buffer-init-functions nil
|
||||
"Hook run after org-indent finishes initializing a buffer.
|
||||
The function(s) in this hook must accept a single argument representing
|
||||
the initialized buffer."
|
||||
:group 'org-indent
|
||||
:package-version '(Org . "9.7")
|
||||
:type 'hook)
|
||||
|
||||
(defface org-indent '((t (:inherit org-hide)))
|
||||
"Face for outline indentation.
|
||||
The default is to make it look like whitespace. But you may find it
|
||||
@@ -290,7 +298,8 @@ a time value."
|
||||
;; Job is complete: un-agentize buffer.
|
||||
(unless interruptp
|
||||
(setq org-indent-agentized-buffers
|
||||
(delq buffer org-indent-agentized-buffers))))))))
|
||||
(delq buffer org-indent-agentized-buffers))
|
||||
(run-hook-with-args 'org-indent-post-buffer-init-functions buffer)))))))
|
||||
|
||||
(defun org-indent-set-line-properties (level indentation &optional heading)
|
||||
"Set prefix properties on current line an move to next one.
|
||||
@@ -328,7 +337,7 @@ stopped."
|
||||
(save-match-data
|
||||
(org-with-wide-buffer
|
||||
(goto-char beg)
|
||||
(beginning-of-line)
|
||||
(forward-line 0)
|
||||
;; Initialize prefix at BEG, according to current entry's level.
|
||||
(let* ((case-fold-search t)
|
||||
(limited-re (org-get-limited-outline-regexp))
|
||||
@@ -410,7 +419,7 @@ This function is meant to be called by `after-change-functions'."
|
||||
(if (or org-indent-modified-headline-flag
|
||||
(save-excursion
|
||||
(goto-char beg)
|
||||
(beginning-of-line)
|
||||
(forward-line 0)
|
||||
(re-search-forward
|
||||
(org-with-limited-levels org-outline-regexp-bol)
|
||||
(save-excursion
|
||||
|
||||
Reference in New Issue
Block a user