1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

Format doc and add customize for ns-auto-hide-menu-bar.

* lisp/cus-start.el (all): Add boolean ns-auto-hide-menu-bar.

* src/nsterm.m (syms_of_nsterm): Use doc: for ns-auto-hide-menu-bar.
This commit is contained in:
Jan Djärv 2011-03-27 12:55:07 +02:00
parent f0a1382af3
commit 5ffb62aa7e
5 changed files with 14 additions and 1 deletions

View file

@ -162,6 +162,9 @@ cannot be encoded by the `terminal-coding-system'.
** On graphical displays, the mode-line no longer ends in dashes. ** On graphical displays, the mode-line no longer ends in dashes.
** On Nextstep/OSX, the menu bar can be hidden by customizing
ns-auto-hide-menu-bar.
** Basic SELinux support has been added. ** Basic SELinux support has been added.
This requires Emacs to be linked with libselinux at build time. This requires Emacs to be linked with libselinux at build time.

View file

@ -1,3 +1,7 @@
2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
* cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2011-03-27 Leo Liu <sdl.web@gmail.com> 2011-03-27 Leo Liu <sdl.web@gmail.com>
* ansi-color.el (ansi-color-names-vector): Allow cons cell value * ansi-color.el (ansi-color-names-vector): Allow cons cell value

View file

@ -356,6 +356,7 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
(const alt) (const hyper) (const alt) (const hyper)
(const super)) "23.1") (const super)) "23.1")
(ns-antialias-text ns boolean "23.1") (ns-antialias-text ns boolean "23.1")
(ns-auto-hide-menu-bar ns boolean "24.0")
;; process.c ;; process.c
(delete-exited-processes processes-basics boolean) (delete-exited-processes processes-basics boolean)
;; syntax.c ;; syntax.c

View file

@ -1,3 +1,7 @@
2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (syms_of_nsterm): Use doc: for ns-auto-hide-menu-bar.
2011-03-27 Anders Lindgren <andlind@gmail.com> 2011-03-27 Anders Lindgren <andlind@gmail.com>
* nsterm.m (ns_menu_bar_is_hidden): New variable. * nsterm.m (ns_menu_bar_is_hidden): New variable.

View file

@ -6486,7 +6486,8 @@ allowing it to be used at a lower level for accented character entry.");
last_mouse_motion_frame = Qnil; last_mouse_motion_frame = Qnil;
DEFVAR_LISP ("ns-auto-hide-menu-bar", ns_auto_hide_menu_bar, DEFVAR_LISP ("ns-auto-hide-menu-bar", ns_auto_hide_menu_bar,
"Non-nil means that the menu bar is hidden, but appears when the mouse is near. Only works on OSX 10.6 or later."); doc: /* Non-nil means that the menu bar is hidden, but appears when the mouse is near.
Only works on OSX 10.6 or later. */);
ns_auto_hide_menu_bar = Qnil; ns_auto_hide_menu_bar = Qnil;
/* TODO: move to common code */ /* TODO: move to common code */