[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic c744f3d3be 321/333: Shorten maximum line length
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic c744f3d3be 321/333: Shorten maximum line length in orgel |
Date: |
Tue, 27 Feb 2024 13:00:50 -0500 (EST) |
branch: externals/lentic
commit c744f3d3be20ce2a9f25890db2b4500438dfa547
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Shorten maximum line length in orgel
Allowing the org view of orgel files to be 70 characters long means that
these lines are overlong in the el view. Hence, we limit the line length
to 67 characters.
---
lentic-org.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lentic-org.el b/lentic-org.el
index 7c52dfd9fd..c8c5d9f411 100644
--- a/lentic-org.el
+++ b/lentic-org.el
@@ -407,13 +407,19 @@ into
;; shut byte compiler up and define var for setq-local
(defvar org-archive-default-command)
-(defun lentic-orgel-org-init-default-hook ()
+(defun lentic-orgel-org-init-default-hook (conf)
;; Better to open all trees in lentic so that both buffers appears the same
;; size.
(show-all)
;; Archiving very easy to and almost always a disaster when it removes an
;; entire tree from the buffer.
(require 'org-archive)
+ ;; shorten the fill column by 3, so that the emacs-lisp buffer is the
+ ;; correct width.
+ (set-fill-column
+ (with-current-buffer
+ (lentic-that conf)
+ (- fill-column 3)))
(setq-local org-archive-default-command
(let ((old-archive
org-archive-default-command))
@@ -438,7 +444,7 @@ into
(call-next-method conf)))
(with-current-buffer
buf
- (run-hooks 'lentic-orgel-org-init-hook))
+ (run-hook-with-args 'lentic-orgel-org-init-hook conf))
buf))
(defmethod lentic-clone
- [elpa] externals/lentic 54290fcc0c 248/333: Documentation Updates., (continued)
- [elpa] externals/lentic 54290fcc0c 248/333: Documentation Updates., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 3f20d2a5ec 261/333: Prepare for next iteration, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 884882d10d 245/333: Fixes error with path handling., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4332b289fb 250/333: Graceful error handling is now optional., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b8f399ea51 244/333: lentic-doc now uses correct directory., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9d542c732b 255/333: README update for 0.8 release., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic c740b170ea 262/333: Enable use of tags in org-mode src blocks., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ba0be3b36f 265/333: Merge branch 'feature/tags-on-org-sections', ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 678db93272 322/333: Merge pull request #50 from DamienCassou/patch-1, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 7b75e8079c 276/333: Regularisation of start/stop handling., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic c744f3d3be 321/333: Shorten maximum line length in orgel,
ELPA Syncer <=
- [elpa] externals/lentic e27c3f3b2a 281/333: Merge pull request #41 from syohex/load-library, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 32a17b1829 323/333: Fix use of undefined variable, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic bbbfa78a0d 302/333: Add missing files, including tests., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 370ebf12a9 268/333: Widening was inconsistent in hooks., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 72542b681a 273/333: Correctly require s in cask and lentic-doc., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a75637bb2f 280/333: Load 'f' for using f-equal?, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 15c336bfe7 288/333: Update to travis-container testing., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 97b939ee15 266/333: Reimplement insert-file-local using core function., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 36861bdf9c 331/333: Add lentic-markdown, ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 8e4a26d861 300/333: Example files added, ELPA Syncer, 2024/02/27