summaryrefslogtreecommitdiff
path: root/doc/misc/calc.texi
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2013-11-16 22:22:24 -0600
committerJay Belanger <jay.p.belanger@gmail.com>2013-11-16 22:22:24 -0600
commit014690de705b6be7c55aa0b9ea85694c4fa1fd73 (patch)
treecf6baa4e80e412e7be0453ca21c1fb325367c926 /doc/misc/calc.texi
parent0f679e866c6aaf8cebd9291bd715bc99eea511ae (diff)
downloademacs-014690de705b6be7c55aa0b9ea85694c4fa1fd73.tar.gz
emacs-014690de705b6be7c55aa0b9ea85694c4fa1fd73.tar.bz2
emacs-014690de705b6be7c55aa0b9ea85694c4fa1fd73.zip
* calc/calc.el (calc-context-sensitive-enter): New variable.
(calc-enter): Use `calc-context-sensitive-enter'. * doc/misc/calc.texi (Customizing Calc): Mention the new variable `calc-context-sensitive-enter'.
Diffstat (limited to 'doc/misc/calc.texi')
-rw-r--r--doc/misc/calc.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 04160eafad0..0154c82750a 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -35696,6 +35696,14 @@ have different dimensions. The default value of @code{calc-ensure-consistent-uni
is @code{nil}.
@end defvar
+@defvar calc-context-sensitive-enter
+The command @code{calc-enter} will typically duplicate the top of the
+stack. If @code{calc-context-sensitive-enter} is non-@code{nil},
+then the @code{calc-enter} will copy the element at the cursor to the
+top of the stack. The default value of
+@code{calc-context-sensitive-enter} is @code{nil}.
+@end defvar
+
@defvar calc-undo-length
The variable @code{calc-undo-length} determines the number of undo
steps that Calc will keep track of when @code{calc-quit} is called.