From 9dc18bef43897820b0b9e40ac301a82eedf7e28a Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 21 Sep 2022 14:22:24 +1000 Subject: 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 d3aa016..afb783f 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 2c3d51f..b44f885 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 d8dfe6e..1edc3ee 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 . (require 'hcel-source) -(require 'hcel-outline) -(require 'hcel-results) (require 'hcel-utils) (defun hcel-package (package-id) -- cgit v1.2.3