summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaludercic <philip.kaludercic@fau.de>2023-07-19 20:01:11 +0000
committerPhilip Kaludercic <philip.kaludercic@fau.de>2023-07-19 20:01:11 +0000
commit80ca91520be7003671cee1f2dd3c1655bba2d69d (patch)
treee5afd6c76517aedb2d558527fd7b59a0afbfb354
parent917f8de4d1a6fe7b12e1f9a6e96d9a504a5be8af (diff)
Add 'number' to 'do-at-point-actions'
-rw-r--r--do-at-point.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/do-at-point.el b/do-at-point.el
index 1ea4833..f5e7d86 100644
--- a/do-at-point.el
+++ b/do-at-point.el
@@ -5,7 +5,7 @@
;; Author: Philip Kaludercic <philipk@posteo.net>
;; Maintainer: Philip Kaludercic <philipk@posteo.net>
;; URL: https://wwwcip.cs.fau.de/~oj14ozun/src+etc/do-at-point.el
-;; Version: $Id: do-at-point.el,v 1.12 2023/07/18 07:23:11 oj14ozun Exp oj14ozun $
+;; Version: $Id: do-at-point.el,v 1.13 2023/07/18 07:57:21 oj14ozun Exp oj14ozun $
;; Package-Version: 1
;; Package-Requires: ((emacs "26.1"))
;; Keywords: convenience
@@ -102,6 +102,11 @@
(?d "Download" ,#'(lambda (url)
(start-process "*Download*" nil "wget" url)))
(?e "eww" ,#'eww-browse-url))
+ (number
+ (?* "Calc" ,(lambda ()
+ (declare-function calc-embedded-word "calc-embed")
+ (require 'calc)
+ (calc-embedded-word))))
(word
(?$ "Spell check" ,(lambda () (ispell-word)))
(?d "Dictionary" ,#'dictionary-search))