emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 295187bc6a 4/8: Reposition a user option closer


From: ELPA Syncer
Subject: [elpa] externals/denote 295187bc6a 4/8: Reposition a user option closer towards the top
Date: Thu, 25 Jul 2024 03:58:09 -0400 (EDT)

branch: externals/denote
commit 295187bc6a89a9bf3c8c56369d792b0915246393
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Reposition a user option closer towards the top
---
 denote.el | 64 +++++++++++++++++++++++++++++++--------------------------------
 1 file changed, 31 insertions(+), 33 deletions(-)

diff --git a/denote.el b/denote.el
index 83000e2a5f..ea973ba3bc 100644
--- a/denote.el
+++ b/denote.el
@@ -539,6 +539,37 @@ current note."
 
 (make-obsolete-variable 'denote-rename-no-confirm 'denote-rename-confirmations 
"3.0.0")
 
+(defcustom denote-link-backlinks-display-buffer-action
+  '((display-buffer-reuse-window display-buffer-below-selected)
+    (window-height . fit-window-to-buffer)
+    (dedicated . t)
+    (preserve-size . (t . t)))
+  "The action used to display the current file's backlinks buffer.
+
+The value has the form (FUNCTION . ALIST), where FUNCTION is
+either an \"action function\", a list thereof, or possibly an
+empty list.  ALIST is a list of \"action alist\" which may be
+omitted (or be empty).
+
+Sample configuration to display the buffer in a side window on
+the left of the Emacs frame:
+
+    (setq denote-link-backlinks-display-buffer-action
+          (quote ((display-buffer-reuse-window display-buffer-in-side-window)
+                  (side . left)
+                  (slot . 99)
+                  (window-width . 0.3)
+                  (dedicated . t)
+                  (preserve-size . (t . t)))))
+
+See Info node `(elisp) Displaying Buffers' for more details
+and/or the documentation string of `display-buffer'."
+  :type '(cons (choice (function :tag "Display Function")
+                       (repeat :tag "Display Functions" function))
+               alist)
+  :package-version '(denote . "3.0.0")
+  :group 'denote)
+
 (defcustom denote-rename-confirmations '(rewrite-front-matter modify-file-name)
   "Make renaming commands prompt for confirmations.
 
@@ -3743,39 +3774,6 @@ also enable it in all subdirectories."
 
 ;;;; The linking facility
 
-;;;;; User options
-
-(defcustom denote-link-backlinks-display-buffer-action
-  '((display-buffer-reuse-window display-buffer-below-selected)
-    (window-height . fit-window-to-buffer)
-    (dedicated . t)
-    (preserve-size . (t . t)))
-  "The action used to display the current file's backlinks buffer.
-
-The value has the form (FUNCTION . ALIST), where FUNCTION is
-either an \"action function\", a list thereof, or possibly an
-empty list.  ALIST is a list of \"action alist\" which may be
-omitted (or be empty).
-
-Sample configuration to display the buffer in a side window on
-the left of the Emacs frame:
-
-    (setq denote-link-backlinks-display-buffer-action
-          (quote ((display-buffer-reuse-window display-buffer-in-side-window)
-                  (side . left)
-                  (slot . 99)
-                  (window-width . 0.3)
-                  (dedicated . t)
-                  (preserve-size . (t . t)))))
-
-See Info node `(elisp) Displaying Buffers' for more details
-and/or the documentation string of `display-buffer'."
-  :type '(cons (choice (function :tag "Display Function")
-                       (repeat :tag "Display Functions" function))
-               alist)
-  :package-version '(denote . "3.0.0")
-  :group 'denote-link)
-
 ;;;;; Link to note
 
 (defvar denote-org-link-format "[[denote:%s][%s]]"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]