[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole c8289451ae 3/7: Remove trace of deleted new-b
From: |
ELPA Syncer |
Subject: |
[elpa] externals/hyperbole c8289451ae 3/7: Remove trace of deleted new-buf-flag |
Date: |
Thu, 14 Nov 2024 03:58:10 -0500 (EST) |
branch: externals/hyperbole
commit c8289451ae594a4b4f072ebd0134f099aca68fbf
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: Mats Lidell <mats.lidell@lidells.se>
Remove trace of deleted new-buf-flag
---
hyrolo.el | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/hyrolo.el b/hyrolo.el
index aeb9a79d5e..1a84c1bd5d 100644
--- a/hyrolo.el
+++ b/hyrolo.el
@@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 7-Jun-89 at 22:08:29
-;; Last-Mod: 12-Nov-24 at 20:21:19 by Mats Lidell
+;; Last-Mod: 13-Nov-24 at 13:17:36 by Mats Lidell
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -1973,8 +1973,7 @@ Return number of matching entries found."
;; Save pattern as last rolo search expression.
(setq hyrolo-match-regexp pattern)
;;
- (let (;;(new-buf-flag)
- (actual-buf)
+ (let ((actual-buf)
;; Temporarily disable magit-auto-revert-mode-enable-in-buffers for
hyrolo
;; buffers; not needed and can slow/hang file loading
(after-change-major-mode-hook
@@ -1982,9 +1981,7 @@ Return number of matching entries found."
(if (and (or (null max-matches) (eq max-matches t) (integerp max-matches))
(or (setq actual-buf (hyrolo-buffer-exists-p hyrolo-file-or-buf))
(when (file-exists-p hyrolo-file-or-buf)
- (setq actual-buf (hyrolo-find-file-noselect
hyrolo-file-or-buf)
- ;; new-buf-flag t
- ))))
+ (setq actual-buf (hyrolo-find-file-noselect
hyrolo-file-or-buf)))))
(let ((num-found 0)
(incl-hdr t)
(stuck-negative-point 0)
@@ -1999,12 +1996,6 @@ Return number of matching entries found."
max-matches (- max-matches)))))
(set-buffer actual-buf)
- ;; Comment out next two lines that could set source buffer
- ;; to read-only since this can break org-capture into the
- ;; buffer. -- rsw, 2024-11-03
- ;; (when new-buf-flag
- ;; (setq buffer-read-only t))
-
(when (and headline-only
(not (string-match (concat "\\`\\(" (regexp-quote "^")
"\\|" (regexp-quote "\\`") "\\)") pattern)))
;; If matching only to headlines and pattern is not already
- [elpa] externals/hyperbole updated (dea72c9f45 -> ad04a251b5), ELPA Syncer, 2024/11/14
- [elpa] externals/hyperbole 3b5b60608f 2/7: Add defvar and declare-function to silence warnings, ELPA Syncer, 2024/11/14
- [elpa] externals/hyperbole c8289451ae 3/7: Remove trace of deleted new-buf-flag,
ELPA Syncer <=
- [elpa] externals/hyperbole ad04a251b5 7/7: Merge pull request #606 from rswgnu/rsw, ELPA Syncer, 2024/11/14
- [elpa] externals/hyperbole f8d9d563e7 4/7: Alphabetise public declarations, ELPA Syncer, 2024/11/14
- [elpa] externals/hyperbole 293a42d4a0 6/7: hywiki.el - Fix newline not triggering higlighting of prev wiki word, ELPA Syncer, 2024/11/14
- [elpa] externals/hyperbole 70eb020f80 1/7: Remove unused warning, comment out all occurences of new-buf-flag, ELPA Syncer, 2024/11/14
- [elpa] externals/hyperbole 9a8f0991c3 5/7: Merge pull request #605 from rswgnu/remove-warnings, ELPA Syncer, 2024/11/14