aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Third2016-08-29 19:32:40 +0100
committerAlan Third2016-08-29 19:32:40 +0100
commitbcd2d911f35fd28f0a0051f237dc76f15cea4b4a (patch)
treea5cb943ec40d2acfdb91121c73931c04cc9b8af3 /src
parent1d0d6d9296414686ce17b8731fba66c56f904ee8 (diff)
downloademacs-bcd2d911f35fd28f0a0051f237dc76f15cea4b4a.tar.gz
emacs-bcd2d911f35fd28f0a0051f237dc76f15cea4b4a.zip
Clarify docstrings
* src/nsterm.m: Clarified that ns-x-modifier variables require a symbol.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 03bb0115509..ceda30bd46f 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -8739,14 +8739,16 @@ syms_of_nsterm (void)
8739 8739
8740 DEFVAR_LISP ("ns-alternate-modifier", ns_alternate_modifier, 8740 DEFVAR_LISP ("ns-alternate-modifier", ns_alternate_modifier,
8741 "This variable describes the behavior of the alternate or option key.\n\ 8741 "This variable describes the behavior of the alternate or option key.\n\
8742Set to control, meta, alt, super, or hyper means it is taken to be that key.\n\ 8742Set to the symbol control, meta, alt, super, or hyper means it is taken to be\n\
8743that key.\n\
8743Set to none means that the alternate / option key is not interpreted by Emacs\n\ 8744Set to none means that the alternate / option key is not interpreted by Emacs\n\
8744at all, allowing it to be used at a lower level for accented character entry."); 8745at all, allowing it to be used at a lower level for accented character entry.");
8745 ns_alternate_modifier = Qmeta; 8746 ns_alternate_modifier = Qmeta;
8746 8747
8747 DEFVAR_LISP ("ns-right-alternate-modifier", ns_right_alternate_modifier, 8748 DEFVAR_LISP ("ns-right-alternate-modifier", ns_right_alternate_modifier,
8748 "This variable describes the behavior of the right alternate or option key.\n\ 8749 "This variable describes the behavior of the right alternate or option key.\n\
8749Set to control, meta, alt, super, or hyper means it is taken to be that key.\n\ 8750Set to the symbol control, meta, alt, super, or hyper means it is taken to be\n\
8751that key.\n\
8750Set to left means be the same key as `ns-alternate-modifier'.\n\ 8752Set to left means be the same key as `ns-alternate-modifier'.\n\
8751Set to none means that the alternate / option key is not interpreted by Emacs\n\ 8753Set to none means that the alternate / option key is not interpreted by Emacs\n\
8752at all, allowing it to be used at a lower level for accented character entry."); 8754at all, allowing it to be used at a lower level for accented character entry.");
@@ -8754,12 +8756,14 @@ at all, allowing it to be used at a lower level for accented character entry.");
8754 8756
8755 DEFVAR_LISP ("ns-command-modifier", ns_command_modifier, 8757 DEFVAR_LISP ("ns-command-modifier", ns_command_modifier,
8756 "This variable describes the behavior of the command key.\n\ 8758 "This variable describes the behavior of the command key.\n\
8757Set to control, meta, alt, super, or hyper means it is taken to be that key."); 8759Set to the symbol control, meta, alt, super, or hyper means it is taken to be\n\
8760that key.");
8758 ns_command_modifier = Qsuper; 8761 ns_command_modifier = Qsuper;
8759 8762
8760 DEFVAR_LISP ("ns-right-command-modifier", ns_right_command_modifier, 8763 DEFVAR_LISP ("ns-right-command-modifier", ns_right_command_modifier,
8761 "This variable describes the behavior of the right command key.\n\ 8764 "This variable describes the behavior of the right command key.\n\
8762Set to control, meta, alt, super, or hyper means it is taken to be that key.\n\ 8765Set to the symbol control, meta, alt, super, or hyper means it is taken to be\n\
8766that key.\n\
8763Set to left means be the same key as `ns-command-modifier'.\n\ 8767Set to left means be the same key as `ns-command-modifier'.\n\
8764Set to none means that the command / option key is not interpreted by Emacs\n\ 8768Set to none means that the command / option key is not interpreted by Emacs\n\
8765at all, allowing it to be used at a lower level for accented character entry."); 8769at all, allowing it to be used at a lower level for accented character entry.");
@@ -8767,12 +8771,14 @@ at all, allowing it to be used at a lower level for accented character entry.");
8767 8771
8768 DEFVAR_LISP ("ns-control-modifier", ns_control_modifier, 8772 DEFVAR_LISP ("ns-control-modifier", ns_control_modifier,
8769 "This variable describes the behavior of the control key.\n\ 8773 "This variable describes the behavior of the control key.\n\
8770Set to control, meta, alt, super, or hyper means it is taken to be that key."); 8774Set to the symbol control, meta, alt, super, or hyper means it is taken to be\n\
8775that key.");
8771 ns_control_modifier = Qcontrol; 8776 ns_control_modifier = Qcontrol;
8772 8777
8773 DEFVAR_LISP ("ns-right-control-modifier", ns_right_control_modifier, 8778 DEFVAR_LISP ("ns-right-control-modifier", ns_right_control_modifier,
8774 "This variable describes the behavior of the right control key.\n\ 8779 "This variable describes the behavior of the right control key.\n\
8775Set to control, meta, alt, super, or hyper means it is taken to be that key.\n\ 8780Set to the symbol control, meta, alt, super, or hyper means it is taken to be\n\
8781that key.\n\
8776Set to left means be the same key as `ns-control-modifier'.\n\ 8782Set to left means be the same key as `ns-control-modifier'.\n\
8777Set to none means that the control / option key is not interpreted by Emacs\n\ 8783Set to none means that the control / option key is not interpreted by Emacs\n\
8778at all, allowing it to be used at a lower level for accented character entry."); 8784at all, allowing it to be used at a lower level for accented character entry.");
@@ -8780,7 +8786,8 @@ at all, allowing it to be used at a lower level for accented character entry.");
8780 8786
8781 DEFVAR_LISP ("ns-function-modifier", ns_function_modifier, 8787 DEFVAR_LISP ("ns-function-modifier", ns_function_modifier,
8782 "This variable describes the behavior of the function key (on laptops).\n\ 8788 "This variable describes the behavior of the function key (on laptops).\n\
8783Set to control, meta, alt, super, or hyper means it is taken to be that key.\n\ 8789Set to the symbol control, meta, alt, super, or hyper means it is taken to be\n\
8790that key.\n\
8784Set to none means that the function key is not interpreted by Emacs at all,\n\ 8791Set to none means that the function key is not interpreted by Emacs at all,\n\
8785allowing it to be used at a lower level for accented character entry."); 8792allowing it to be used at a lower level for accented character entry.");
8786 ns_function_modifier = Qnone; 8793 ns_function_modifier = Qnone;