From 0bb00921d955ab795b701eb1276e6d344182c768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Mon, 28 Mar 2016 00:17:01 +0200 Subject: [PATCH] FUEL: shouldn't clobber the 'symbol variable for thing-at-point, fixes #1592 --- misc/fuel/factor-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/fuel/factor-mode.el b/misc/fuel/factor-mode.el index cf68ea6e3d..7d72e7656b 100644 --- a/misc/fuel/factor-mode.el +++ b/misc/fuel/factor-mode.el @@ -172,11 +172,11 @@ these lines in your .emacs: "Move point to the end of the current symbol." (skip-syntax-forward "w_()\"")) -(put 'symbol 'end-op 'factor-end-of-symbol) -(put 'symbol 'beginning-op 'factor-beginning-of-symbol) +(put 'factor-symbol 'end-op 'factor-end-of-symbol) +(put 'factor-symbol 'beginning-op 'factor-beginning-of-symbol) (defun factor-symbol-at-point () - (let ((thing (thing-at-point 'symbol t))) + (let ((thing (thing-at-point 'factor-symbol t))) (and (> (length thing) 0) thing)))