Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0013b70f
Commit
0013b70f
authored
Jul 18, 2009
by
Chong Yidong
Browse files
* simple.el (set-mark): Revert last change.
parent
9af167bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/simple.el
lisp/simple.el
+2
-6
No files found.
lisp/ChangeLog
View file @
0013b70f
2009-07-18 David De La Harpe Golden <david@harpegolden.net>
* simple.el (set-mark): Revert last change.
2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
* doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
...
...
lisp/simple.el
View file @
0013b70f
...
...
@@ -3534,12 +3534,8 @@ store it in a Lisp variable. Example:
(
progn
(
setq
mark-active
t
)
(
run-hooks
'activate-mark-hook
)
(
and
select-active-regions
;; Only set the selection if we already own PRIMARY. The
;; initial selection grab happens in `activate-mark', but
;; it is necessary to update it here.
(
x-selection-owner-p
'PRIMARY
)
(
x-set-selection
'PRIMARY
(
current-buffer
)))
(
when
select-active-regions
(
x-set-selection
'PRIMARY
(
current-buffer
)))
(
set-marker
(
mark-marker
)
pos
(
current-buffer
)))
;; Normally we never clear mark-active except in Transient Mark mode.
;; But when we actually clear out the mark value too, we must
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment