branch: externals/shift-number
commit b23e8bf3c8f91ab17279ef6d21b0e756c08cc3dc
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Remove "shift-number-display-message"
This wasn't really helpful and quite noisy.
As the number is generally visible, there is no
need to report a before/after value.
---
shift-number.el | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/shift-number.el b/shift-number.el
index 5755c5875f..3c0c8d57e9 100644
--- a/shift-number.el
+++ b/shift-number.el
@@ -37,11 +37,6 @@ The first parenthesized expression must match the number."
:type 'regexp
:group 'shift-number)
-(defcustom shift-number-display-message nil
- "If non-nil, display a message after shifting the current number."
- :type 'boolean
- :group 'shift-number)
-
(defcustom shift-number-negative t
"If non-nil, support negative numbers."
:type 'boolean
@@ -190,9 +185,7 @@ the current line and change it."
(t
(setq old-pos (min (point) old-pos))))
- (goto-char old-pos)
- (when shift-number-display-message
- (message "Number %d has been changed to number %d." old-num
new-num)))))
+ (goto-char old-pos))))
;;;###autoload
(defun shift-number-up (&optional arg)