2367 |
|
|
2368 |
Each menu title (e.g., @samp{File}, @samp{Edit}, @samp{Buffers}) |
Each menu title (e.g., @samp{File}, @samp{Edit}, @samp{Buffers}) |
2369 |
represents a local or global keymap. Selecting a menu title with the |
represents a local or global keymap. Selecting a menu title with the |
2370 |
mouse displays that keymap's non-nil contents in the form of a menu. |
mouse displays that keymap's non-@code{nil} contents in the form of a menu. |
2371 |
|
|
2372 |
So to add a menu option to an existing menu, all you have to do is add a |
So to add a menu option to an existing menu, all you have to do is add a |
2373 |
new definition to the appropriate keymap. Adding a @samp{Forward Word} |
new definition to the appropriate keymap. Adding a @samp{Forward Word} |
3173 |
feature. |
feature. |
3174 |
|
|
3175 |
Emacs 18 allowed this feature by default; users could disable it by |
Emacs 18 allowed this feature by default; users could disable it by |
3176 |
setting the variable @code{inhibit-local-variables} to a non-nil value. |
setting the variable @code{inhibit-local-variables} to a non-@code{nil} value. |
3177 |
|
|
3178 |
As of Emacs 19, Emacs has a list of local variables that create a |
As of Emacs 19, Emacs has a list of local variables that create a |
3179 |
security risk. If a file tries to set one of them, it asks the user to |
security risk. If a file tries to set one of them, it asks the user to |