aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-12-09 11:40:09 +0800
committerChong Yidong2012-12-09 11:40:09 +0800
commit5dea55d2fa53b12d088ac2ed7dd695a7fdf392b8 (patch)
treec6a8cc71f73bbe1de4e0c6a0527cbb5805ab7931
parent3cc53d60248e48c971a0e78d11bc7cf8c2b02fe2 (diff)
downloademacs-5dea55d2fa53b12d088ac2ed7dd695a7fdf392b8.tar.gz
emacs-5dea55d2fa53b12d088ac2ed7dd695a7fdf392b8.zip
* simple.el (set-mark-default-inactive): Delete accidentally-introduced option.
(set-mark-command, exchange-point-and-mark): Remove calls.
-rw-r--r--etc/NEWS4
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/simple.el12
3 files changed, 11 insertions, 11 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 361e49afe04..acfc18bb9e0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -29,6 +29,10 @@ so we will look at it and add it to the manual.
29** `eval-defun' on an already defined defcustom calls the :set function, 29** `eval-defun' on an already defined defcustom calls the :set function,
30if there is one. 30if there is one.
31 31
32** The option `set-mark-default-inactive' has been deleted.
33This unfinished feature was introduced by accident in Emacs 23.1;
34simply disabling Transient Mark mode does the same thing.
35
32* Editing Changes in Emacs 24.4 36* Editing Changes in Emacs 24.4
33 37
34 38
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8515c110c42..e7d8f0652cc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12012-12-09 Chong Yidong <cyd@gnu.org>
2
3 * simple.el (set-mark-default-inactive): Delete this
4 accidentally-introduced option.
5 (set-mark-command, exchange-point-and-mark): Remove calls.
6
12012-12-09 Glenn Morris <rgm@gnu.org> 72012-12-09 Glenn Morris <rgm@gnu.org>
2 8
3 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix. 9 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
diff --git a/lisp/simple.el b/lisp/simple.el
index c86f367c8a8..51e676faffa 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4134,14 +4134,6 @@ after C-u \\[set-mark-command]."
4134 :type 'boolean 4134 :type 'boolean
4135 :group 'editing-basics) 4135 :group 'editing-basics)
4136 4136
4137(defcustom set-mark-default-inactive nil
4138 "If non-nil, setting the mark does not activate it.
4139This causes \\[set-mark-command] and \\[exchange-point-and-mark] to
4140behave the same whether or not `transient-mark-mode' is enabled."
4141 :type 'boolean
4142 :group 'editing-basics
4143 :version "23.1")
4144
4145(defun set-mark-command (arg) 4137(defun set-mark-command (arg)
4146 "Set the mark where point is, or jump to the mark. 4138 "Set the mark where point is, or jump to the mark.
4147Setting the mark also alters the region, which is the text 4139Setting the mark also alters the region, which is the text
@@ -4203,8 +4195,7 @@ purposes. See the documentation of `set-mark' for more information."
4203 (activate-mark) 4195 (activate-mark)
4204 (message "Mark activated"))) 4196 (message "Mark activated")))
4205 (t 4197 (t
4206 (push-mark-command nil) 4198 (push-mark-command nil))))
4207 (if set-mark-default-inactive (deactivate-mark)))))
4208 4199
4209(defun push-mark (&optional location nomsg activate) 4200(defun push-mark (&optional location nomsg activate)
4210 "Set mark at LOCATION (point, by default) and push old mark on mark ring. 4201 "Set mark at LOCATION (point, by default) and push old mark on mark ring.
@@ -4268,7 +4259,6 @@ mode temporarily."
4268 (deactivate-mark) 4259 (deactivate-mark)
4269 (set-mark (point)) 4260 (set-mark (point))
4270 (goto-char omark) 4261 (goto-char omark)
4271 (if set-mark-default-inactive (deactivate-mark))
4272 (cond (temp-highlight 4262 (cond (temp-highlight
4273 (setq transient-mark-mode (cons 'only transient-mark-mode))) 4263 (setq transient-mark-mode (cons 'only transient-mark-mode)))
4274 ((or (and arg (region-active-p)) ; (xor arg (not (region-active-p))) 4264 ((or (and arg (region-active-p)) ; (xor arg (not (region-active-p)))