Mercurial > emacs
changeset 91911:07b62dd00afa
* simple.el (transient-mark-mode): Add an :init-value.
* startup.el (command-line): Use custom-reevaluate-setting for
transient-mark-mode.
* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
with Qt.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 17 Feb 2008 16:57:44 +0000 |
parents | 27249878ef44 |
children | b6212a3c659c |
files | etc/NEWS lisp/ChangeLog lisp/simple.el lisp/startup.el src/ChangeLog src/callint.c |
diffstat | 6 files changed, 19 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Sun Feb 17 02:05:08 2008 +0000 +++ b/etc/NEWS Sun Feb 17 16:57:44 2008 +0000 @@ -95,6 +95,8 @@ ** Emacs now supports the SVG image format through librsvg2. +** transient-mark-mode is now enabled by default. + ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f requires confirmation before opening a non-existent file.
--- a/lisp/ChangeLog Sun Feb 17 02:05:08 2008 +0000 +++ b/lisp/ChangeLog Sun Feb 17 16:57:44 2008 +0000 @@ -1,3 +1,10 @@ +2008-02-17 Dan Nicolaescu <dann@ics.uci.edu> + + * simple.el (transient-mark-mode): Add an :init-value. + + * startup.el (command-line): Use custom-reevaluate-setting for + transient-mark-mode. + 2008-02-17 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> * wdired.el (wdired-allow-to-change-permissions): Fix typo.
--- a/lisp/simple.el Sun Feb 17 02:05:08 2008 +0000 +++ b/lisp/simple.el Sun Feb 17 16:57:44 2008 +0000 @@ -3586,7 +3586,9 @@ Invoke \\[apropos-documentation] and type \"transient\" or \"mark.*active\" at the prompt, to see the documentation of commands which are sensitive to the Transient Mark mode." - :global t :group 'editing-basics) + :global t + :init-value (not noninteractive) + :group 'editing-basics) (defvar widen-automatically t "Non-nil means it is ok for commands to call `widen' when they want to.
--- a/lisp/startup.el Sun Feb 17 02:05:08 2008 +0000 +++ b/lisp/startup.el Sun Feb 17 16:57:44 2008 +0000 @@ -847,6 +847,7 @@ (custom-reevaluate-setting 'send-mail-function) (custom-reevaluate-setting 'focus-follows-mouse) (custom-reevaluate-setting 'global-auto-composition-mode) + (custom-reevaluate-setting 'transient-mark-mode) (normal-erase-is-backspace-setup-frame)
--- a/src/ChangeLog Sun Feb 17 02:05:08 2008 +0000 +++ b/src/ChangeLog Sun Feb 17 16:57:44 2008 +0000 @@ -1,3 +1,8 @@ +2008-02-17 Dan Nicolaescu <dann@ics.uci.edu> + + * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive + with Qt. + 2008-02-17 Kenichi Handa <handa@m17n.org> * ftfont.c (ftfont_shape): Return Lispy number.
--- a/src/callint.c Sun Feb 17 02:05:08 2008 +0000 +++ b/src/callint.c Sun Feb 17 16:57:44 2008 +0000 @@ -960,7 +960,7 @@ When the option is non-nil, deactivation of the mark turns off region highlighting, but commands that use the mark behave as if the mark were still active. */); - Vmark_even_if_inactive = Qnil; + Vmark_even_if_inactive = Qt; DEFVAR_LISP ("mouse-leave-buffer-hook", &Vmouse_leave_buffer_hook, doc: /* Hook to run when about to switch windows with a mouse command.