]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
fix bba-dict
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 20 May 2025 09:17:00 +0000 (11:17 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 20 May 2025 09:17:00 +0000 (11:17 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index fedf1bd7b5b55df38c804330b8bc5357b1e0d6be..a6e9ce4b95462dfc953f3cc555f4a846a1c65d19 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -2296,7 +2296,7 @@ coffee mug
   "Lookup thing at point in OS X Dictionary."
   (interactive)
   (if (use-region-p)
-      (shell-command (concat "open dict://\"" (buffer-substring (region-beginning)(region-end)) "\""))
+      (shell-command (concat "open dict://\"" (buffer-substring-no-properties (region-beginning)(region-end)) "\""))
     (shell-command (concat "open dict://" (thing-at-point 'symbol)))
     )
   )