[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-real 0f7c7db1e1 128/188: Linting/documentation
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-real 0f7c7db1e1 128/188: Linting/documentation |
Date: |
Sun, 5 May 2024 22:56:01 -0400 (EDT) |
branch: externals/org-real
commit 0f7c7db1e13b18ca252cada4be74bc4566c66f9a
Author: Amy Grinn <grinn.amy@gmail.com>
Commit: Amy Grinn <grinn.amy@gmail.com>
Linting/documentation
---
org-real.el | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/org-real.el b/org-real.el
index 941d14ca3f..872b684d98 100644
--- a/org-real.el
+++ b/org-real.el
@@ -1,7 +1,9 @@
;;; org-real.el --- Keep track of real things as org-mode links -*-
lexical-binding: t -*-
+;; Copyright (C) 2021 Free Software Foundation, Inc.
+
;; Author: Tyler Grinn <tylergrinn@gmail.com>
-;; Version: 0.4.2
+;; Version: 1.0.0
;; File: org-real.el
;; Package-Requires: ((emacs "26.1"))
;; Keywords: tools
@@ -391,9 +393,7 @@ The following commands are available:
(run-with-timer 0 nil (lambda () (org-real--jump-to-box
match))))))))
(defun org-real-headlines ()
- "View all org headlines as an org real diagram.
-
-MAX-LEVEL is the maximum level to show headlines for."
+ "View all org headlines as an org real diagram."
(interactive)
(let ((path (seq-filter 'identity (append (list (org-entry-get nil "ITEM"))
(reverse (org-get-outline-path)))))
(world (save-excursion (org-real--parse-headlines)))
@@ -503,8 +503,10 @@ it.
VISIBILITY is the initial visibility of children and
MAX-VISIBILITY is the maximum depth to display when cycling
visibility."
- (if-let ((buffer (get-buffer "Org Real")))
- (kill-buffer buffer))
+ (when-let ((buffer (get-buffer "Org Real")))
+ (kill-buffer buffer)
+ (if-let ((window (get-buffer-window buffer t)))
+ (delete-window window)))
(let ((buffer (get-buffer-create "Org Real")))
(with-current-buffer buffer
(org-real-mode)
@@ -1702,8 +1704,8 @@ characters if possible."
children))
(flex-children (org-real--get-all (car partitioned)))
(other-children (org-real--get-all (cadr partitioned))))
- (setq children (org-real-box-collection))
(org-real--make-dirty world)
+ (setq children (org-real-box-collection))
(mapc
(lambda (flex-child)
(org-real--flex-add flex-child box world))
- [elpa] externals/org-real 839b953a2f 087/188: Removed reference to org-collect-keywords, (continued)
- [elpa] externals/org-real 839b953a2f 087/188: Removed reference to org-collect-keywords, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 8321f7feff 088/188: # `org-real-headlines`, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real f260ca8e21 098/188: Bump version, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real e61d7ae333 102/188: Fully expand siblings when toggling global visibility, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real c9a9646e2e 104/188: Relationship defaults to "in" if omitted in link, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 1e5434a318 107/188: Added popup library, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 00b02f8968 118/188: Reworked flexible layout, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real d61adfc93b 103/188: Refactoring, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 99fb9277c1 116/188: Merge branch 'next' into 'main', ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 25bfb06ad3 126/188: Adding margin and padding tests, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 0f7c7db1e1 128/188: Linting/documentation,
ELPA Syncer <=
- [elpa] externals/org-real 47d52107b2 111/188: Refactoring; killing org real buffer if it exists before recreating, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real e9e0b15c37 125/188: Smooth lines, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 0b2acfac23 112/188: If headline is a link, only display description, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 9e6a98aab6 117/188: Jump to location when entering org real mode, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real f9b38899b4 131/188: Added help-echo slot for minibuffer messages, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 47b638ba07 133/188: Linting/elc, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 655e8a7613 136/188: Bump version, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real 69bfbae1cd 140/188: Color theme update, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real e94d133e8a 144/188: Linting, ELPA Syncer, 2024/05/05
- [elpa] externals/org-real e6e9ac4146 154/188: Updated readme, ELPA Syncer, 2024/05/05