emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/doc/lispref/keymaps.texi,v


From: Eric S. Raymond
Subject: [Emacs-diffs] Changes to emacs/doc/lispref/keymaps.texi,v
Date: Mon, 05 May 2008 18:13:40 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Eric S. Raymond <esr>   08/05/05 18:13:39

Index: keymaps.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/keymaps.texi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- keymaps.texi        24 Apr 2008 18:10:05 -0000      1.8
+++ keymaps.texi        5 May 2008 18:13:39 -0000       1.9
@@ -766,9 +766,11 @@
 @end defvar
 
 @defun current-global-map
-This function returns the current global keymap.  This is the
-same as the value of @code{global-map} unless you change one or the
-other.
+This function returns the current global keymap.  This is the same as
+the value of @code{global-map} unless you change one or the other.
+The return value is a reference, not a copy; if you use
address@hidden or other functions on it you will alter global
+bindings.
 
 @example
 @group
@@ -802,6 +804,10 @@
 @end example
 @end defun
 
address@hidden returns a reference to the local keymap, not
+a copy of it; if you use @code{define-key} or other functions on it 
+you will alter local bindings.
+
 @defun current-minor-mode-maps
 This function returns a list of the keymaps of currently enabled minor modes.
 @end defun




reply via email to

[Prev in Thread] Current Thread [Next in Thread]