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

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

[elpa] externals/hcel 9dc18bef43 11/13: fixing header comments


From: ELPA Syncer
Subject: [elpa] externals/hcel 9dc18bef43 11/13: fixing header comments
Date: Wed, 21 Sep 2022 08:57:48 -0400 (EDT)

branch: externals/hcel
commit 9dc18bef43897820b0b9e40ac301a82eedf7e28a
Author: Yuchen Pei <hi@ypei.me>
Commit: Yuchen Pei <hi@ypei.me>

    fixing header comments
---
 hcel-haddorg.el | 2 +-
 hcel-utils.el   | 4 ++--
 hcel.el         | 4 +---
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/hcel-haddorg.el b/hcel-haddorg.el
index d3aa016f84..afb783f1c7 100644
--- a/hcel-haddorg.el
+++ b/hcel-haddorg.el
@@ -1,4 +1,4 @@
-;; -*- lexical-binding: t; -*-
+;;; hcel-haddorg.el --- jumping between hcel and org generated from haddorg. 
-*- lexical-binding: t; -*-
 ;; Copyright (C) 2022 Yuchen Pei.
 ;; 
 ;; This file is part of hcel.
diff --git a/hcel-utils.el b/hcel-utils.el
index 2c3d51fbce..b44f88504f 100644
--- a/hcel-utils.el
+++ b/hcel-utils.el
@@ -1,4 +1,4 @@
-;;; hc-utils.el --- Commonly used utilities -*- lexical-binding: t; -*-
+;;; hcel-utils.el --- Commonly used utilities -*- lexical-binding: t; -*-
 
 ;; Copyright (C) 2022 Yuchen Pei.
 ;; 
@@ -169,7 +169,7 @@ Example of an idSrcSpan:
 (defun hcel-text-property-near-point (prop)
   "Find property prop at point, or just before point."
   (or (get-text-property (point) prop)
-      (get-text-property (1- (point)) prop)))
+      (get-text-property (max 0 (1- (point))) prop)))
 
 (provide 'hcel-utils)
 ;;; hcel-utils.el ends here.
diff --git a/hcel.el b/hcel.el
index d8dfe6e2a4..1edc3ee96b 100644
--- a/hcel.el
+++ b/hcel.el
@@ -7,7 +7,7 @@
 ;; Keywords: haskell
 ;; Package-Requires: ((emacs "28"))
 ;; Package-Type: multi
-;; Homepage: https://g.ypei.me/hcel.git
+;; Homepage: https://g.ypei.me/hc.el.git
 
 ;; Copyright (C) 2022 Yuchen Pei.
 ;; 
@@ -27,8 +27,6 @@
 ;; License along with hcel.  If not, see <https://www.gnu.org/licenses/>.
 
 (require 'hcel-source)
-(require 'hcel-outline)
-(require 'hcel-results)
 (require 'hcel-utils)
 
 (defun hcel-package (package-id)



reply via email to

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