]> git.eshelyaron.com Git - emacs.git/commitdiff
Format doc and add customize for ns-auto-hide-menu-bar.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 27 Mar 2011 10:55:07 +0000 (12:55 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 27 Mar 2011 10:55:07 +0000 (12:55 +0200)
* 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.

etc/NEWS
lisp/ChangeLog
lisp/cus-start.el
src/ChangeLog
src/nsterm.m

index 263ab2eff3bbd3462290f5d3e70dd1f67a371560..c48af3a3b40d3b93a10c4194d0ddf016a08981cf 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -162,6 +162,9 @@ cannot be encoded by the `terminal-coding-system'.
 
 ** 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.
 This requires Emacs to be linked with libselinux at build time.
 
index f6d06821062e0d9dcc45de62077191c84a385c03..a88381611362c74a2de05e9d86850a250c403fce 100644 (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>
 
        * ansi-color.el (ansi-color-names-vector): Allow cons cell value
index 788731e4dbcedd78e138a18bd35bf30d5cc37536..1188d37150a694eee660889755e71628bc4512d3 100644 (file)
@@ -356,6 +356,7 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
                      (const alt) (const hyper)
                      (const super)) "23.1")
             (ns-antialias-text ns boolean "23.1")
+            (ns-auto-hide-menu-bar ns boolean "24.0")
             ;; process.c
             (delete-exited-processes processes-basics boolean)
             ;; syntax.c
index 96f60877fce9ac66ad1f4f9708efc0cb49a181e3..0ed011884ca1968f4babbe0e0741954eecd0904b 100644 (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>
 
        * nsterm.m (ns_menu_bar_is_hidden): New variable.
index ebfa875ae0e690232745a950eb36ca83fcf5dd01..91f0cbba5859531503f9ff850a100198f346eea6 100644 (file)
@@ -6486,7 +6486,8 @@ allowing it to be used at a lower level for accented character entry.");
   last_mouse_motion_frame = Qnil;
 
   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;
 
   /* TODO: move to common code */