From: Andreas Gerler Date: Tue, 20 May 2025 09:17:00 +0000 (+0200) Subject: fix bba-dict X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=5fc7966c184193bb8187778427524bc535786844;p=emacsconfig.git fix bba-dict Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index fedf1bd7..a6e9ce4b 100644 --- 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))) ) )