diff options
| author | Glenn Morris | 2008-11-15 22:29:59 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-11-15 22:29:59 +0000 |
| commit | 406aaa6f6d6786ca258ac7dc7f7a10ed409059b5 (patch) | |
| tree | 0a92c592d75c7fd4810bc6148cc192c2498610c4 | |
| parent | 2b6c5ff65cd3b4ad21f1e39ed3718c37f8f34a89 (diff) | |
| download | emacs-406aaa6f6d6786ca258ac7dc7f7a10ed409059b5.tar.gz emacs-406aaa6f6d6786ca258ac7dc7f7a10ed409059b5.zip | |
(ns-do-applescript, ns-popup-font-panel): Declare.
(ns-show-manual, menu-bar-help-menu): Update for merge of ns-emacs into
main Emacs manual.
| -rw-r--r-- | lisp/term/ns-win.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 51de66ee5c9..3e40785d230 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -330,6 +330,7 @@ this defaults to \"printenv\"." | |||
| 330 | (defvaralias 'mac-control-modifier 'ns-control-modifier) | 330 | (defvaralias 'mac-control-modifier 'ns-control-modifier) |
| 331 | (defvaralias 'mac-option-modifier 'ns-option-modifier) | 331 | (defvaralias 'mac-option-modifier 'ns-option-modifier) |
| 332 | (defvaralias 'mac-function-modifier 'ns-function-modifier) | 332 | (defvaralias 'mac-function-modifier 'ns-function-modifier) |
| 333 | (declare-function ns-do-applescript "nsfns.m" (script)) | ||
| 333 | (defalias 'do-applescript 'ns-do-applescript) | 334 | (defalias 'do-applescript 'ns-do-applescript) |
| 334 | 335 | ||
| 335 | 336 | ||
| @@ -348,7 +349,9 @@ this defaults to \"printenv\"." | |||
| 348 | :group 'ns | 349 | :group 'ns |
| 349 | (if ns-extended-platform-support-mode | 350 | (if ns-extended-platform-support-mode |
| 350 | (progn | 351 | (progn |
| 351 | (defun ns-show-manual () "Show Emacs.app manual" (interactive) (info "ns-emacs")) | 352 | (defun ns-show-manual () "Show Emacs.app section in the Emacs manual" |
| 353 | (interactive) | ||
| 354 | (info "(emacs)Mac OS")) | ||
| 352 | (setq where-is-preferred-modifier 'super) | 355 | (setq where-is-preferred-modifier 'super) |
| 353 | (setq scroll-preserve-screen-position t) | 356 | (setq scroll-preserve-screen-position t) |
| 354 | (transient-mark-mode 1) | 357 | (transient-mark-mode 1) |
| @@ -359,7 +362,7 @@ this defaults to \"printenv\"." | |||
| 359 | (easy-menu-add-item global-map '(menu-bar) | 362 | (easy-menu-add-item global-map '(menu-bar) |
| 360 | (cons "File" menu-bar-ns-file-menu) 'edit) | 363 | (cons "File" menu-bar-ns-file-menu) 'edit) |
| 361 | (define-key menu-bar-help-menu [ns-manual] | 364 | (define-key menu-bar-help-menu [ns-manual] |
| 362 | '(menu-item "Emacs.app Manual" ns-show-manual))) | 365 | '(menu-item "Emacs.app Manual Chapter" ns-show-manual))) |
| 363 | (progn | 366 | (progn |
| 364 | ;; Undo everything above. | 367 | ;; Undo everything above. |
| 365 | (fmakunbound 'ns-show-manual) | 368 | (fmakunbound 'ns-show-manual) |
| @@ -1251,6 +1254,7 @@ unless the current buffer is a scratch buffer.") | |||
| 1251 | (setq scalable-fonts-allowed t) | 1254 | (setq scalable-fonts-allowed t) |
| 1252 | 1255 | ||
| 1253 | ;; Set to use font panel instead | 1256 | ;; Set to use font panel instead |
| 1257 | (declare-function ns-popup-font-panel "nsfns.m" (&optional frame)) | ||
| 1254 | (defalias 'generate-fontset-menu 'ns-popup-font-panel) | 1258 | (defalias 'generate-fontset-menu 'ns-popup-font-panel) |
| 1255 | (defalias 'mouse-set-font 'ns-popup-font-panel) | 1259 | (defalias 'mouse-set-font 'ns-popup-font-panel) |
| 1256 | 1260 | ||