[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/luwak 544187e3e7 26/28: fixed a bug when no title could
From: |
ELPA Syncer |
Subject: |
[elpa] externals/luwak 544187e3e7 26/28: fixed a bug when no title could be guessed. |
Date: |
Tue, 25 Oct 2022 15:57:55 -0400 (EDT) |
branch: externals/luwak
commit 544187e3e7ee057b97e2048f71f4e19396884b50
Author: Yuchen Pei <hi@ypei.me>
Commit: Yuchen Pei <hi@ypei.me>
fixed a bug when no title could be guessed.
---
luwak.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/luwak.el b/luwak.el
index b0f7440e47..08eb7931ff 100644
--- a/luwak.el
+++ b/luwak.el
@@ -115,9 +115,9 @@ When non-nill, swap the tor-switch in prefix-arg effect."
(defun luwak-guess-title ()
(save-excursion
(goto-char (point-min))
- (re-search-forward "^[^[:space:]]" nil t)
- (buffer-substring-no-properties (1- (point))
- (progn (end-of-line 1) (point)))))
+ (when (re-search-forward "^[^[:space:]]" nil t)
+ (buffer-substring-no-properties (1- (point))
+ (progn (end-of-line 1) (point))))))
(when (require 'org nil t)
(defun luwak-org-store-link ()
- [elpa] externals/luwak 9341d7ac6b 01/28: initial commit, (continued)
- [elpa] externals/luwak 9341d7ac6b 01/28: initial commit, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak 39ac2162c5 02/28: adding luwak-mode, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak 4b0acd3441 09/28: moving luwak-mode-map definition to be above the mode definition, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak f08e3189eb 12/28: Caching dump for history nav, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak f12c63b8a5 16/28: render a dump buffer, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak 08855c83c4 24/28: minor wording, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak 96fec3bce0 23/28: minor rewording, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak 91764c44b9 22/28: updated readme, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak 9c95bcb74f 27/28: adding an example url rewrite function, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak ec97058718 28/28: minor docstring, ELPA Syncer, 2022/10/25
- [elpa] externals/luwak 544187e3e7 26/28: fixed a bug when no title could be guessed.,
ELPA Syncer <=
- [elpa] externals/luwak fa9a801f81 04/28: licensing and readme, ELPA Syncer, 2022/10/25