HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d0cca
)
(deactivate-mark): Do nothing unless transient-mark-mode.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 28 May 1994 12:04:04 +0000
(12:04 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 28 May 1994 12:04:04 +0000
(12:04 +0000)
lisp/simple.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index
8816596
..
4b00ad6
100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-1305,8
+1305,10
@@
a mistake; see the documentation of `set-mark'."
"Deactivate the mark by setting `mark-active' to nil.
\(That makes a difference only in Transient Mark mode.)
Also runs the hook `deactivate-mark-hook'."
- (setq mark-active nil)
- (run-hooks 'deactivate-mark-hook))
+ (if transient-mark-mode
+ (progn
+ (setq mark-active nil)
+ (run-hooks 'deactivate-mark-hook))))
(defun set-mark (pos)
"Set this buffer's mark to POS. Don't use this function!