aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKelly Dean2012-11-29 15:09:37 -0500
committerStefan Monnier2012-11-29 15:09:37 -0500
commit31646597cdf1ad25ed8aa866329f0e9e0d8caa68 (patch)
tree44953148012c24ffbd78ac5c7917d20afbb4d81d /lisp
parent824eefe427f71a8083bb7163d2033704cfe3606b (diff)
downloademacs-31646597cdf1ad25ed8aa866329f0e9e0d8caa68.tar.gz
emacs-31646597cdf1ad25ed8aa866329f0e9e0d8caa68.zip
* lisp/simple.el (activate-mark): Run activate-mark-hook.
Fixes: debbugs:13027
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 419c95114c8..8e77ddc95dd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2
3 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4
12012-11-29 Glenn Morris <rgm@gnu.org> 52012-11-29 Glenn Morris <rgm@gnu.org>
2 6
3 * files.el (hack-dir-local-variables): Warn if try to set 7 * files.el (hack-dir-local-variables): Warn if try to set
diff --git a/lisp/simple.el b/lisp/simple.el
index 5867561da26..ecd02545b41 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4012,7 +4012,8 @@ run `deactivate-mark-hook'."
4012 (when (mark t) 4012 (when (mark t)
4013 (setq mark-active t) 4013 (setq mark-active t)
4014 (unless transient-mark-mode 4014 (unless transient-mark-mode
4015 (setq transient-mark-mode 'lambda)))) 4015 (setq transient-mark-mode 'lambda))
4016 (run-hooks 'activate-mark-hook)))
4016 4017
4017(defun set-mark (pos) 4018(defun set-mark (pos)
4018 "Set this buffer's mark to POS. Don't use this function! 4019 "Set this buffer's mark to POS. Don't use this function!