aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-21 14:22:24 +1000
committerYuchen Pei <hi@ypei.me>2022-09-21 14:22:24 +1000
commit9dc18bef43897820b0b9e40ac301a82eedf7e28a (patch)
treee63d55430bacc763f0dee44038505e38d1fa10ae
parent73bd6e9bd92fa57877f2d894f43725a4a0abf1a8 (diff)
fixing header comments
-rw-r--r--hcel-haddorg.el2
-rw-r--r--hcel-utils.el4
-rw-r--r--hcel.el4
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 <https://www.gnu.org/licenses/>.
(require 'hcel-source)
-(require 'hcel-outline)
-(require 'hcel-results)
(require 'hcel-utils)
(defun hcel-package (package-id)