diff options
| author | Kelly Dean | 2012-11-29 15:09:37 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2012-11-29 15:09:37 -0500 |
| commit | 31646597cdf1ad25ed8aa866329f0e9e0d8caa68 (patch) | |
| tree | 44953148012c24ffbd78ac5c7917d20afbb4d81d /lisp | |
| parent | 824eefe427f71a8083bb7163d2033704cfe3606b (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 3 |
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 @@ | |||
| 1 | 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change) | ||
| 2 | |||
| 3 | * simple.el (activate-mark): Run activate-mark-hook (bug#13027). | ||
| 4 | |||
| 1 | 2012-11-29 Glenn Morris <rgm@gnu.org> | 5 | 2012-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! |