aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/frame.el
Commit message (Collapse)AuthorAgeFilesLines
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Spelling fixes.Paul Eggert2011-12-291-1/+1
|
* * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.Chong Yidong2011-11-291-9/+21
|
* Fix typos.Juanma Barranquero2011-11-151-1/+1
|
* Fix minor mode docstrings for the new meaning of a nil ARG.Chong Yidong2011-10-191-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * abbrev.el (abbrev-mode): * allout.el (allout-mode): * autoinsert.el (auto-insert-mode): * autoarg.el (autoarg-mode, autoarg-kp-mode): * autorevert.el (auto-revert-mode, auto-revert-tail-mode) (global-auto-revert-mode): * battery.el (display-battery-mode): * composite.el (global-auto-composition-mode) (auto-composition-mode): * delsel.el (delete-selection-mode): * desktop.el (desktop-save-mode): * dired-x.el (dired-omit-mode): * dirtrack.el (dirtrack-mode): * doc-view.el (doc-view-minor-mode): * double.el (double-mode): * electric.el (electric-indent-mode, electric-pair-mode): * emacs-lock.el (emacs-lock-mode): * epa-hook.el (auto-encryption-mode): * follow.el (follow-mode): * font-core.el (font-lock-mode): * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode): * help.el (temp-buffer-resize-mode): * hilit-chg.el (highlight-changes-mode) (highlight-changes-visible-mode): * hi-lock.el (hi-lock-mode): * hl-line.el (hl-line-mode, global-hl-line-mode): * icomplete.el (icomplete-mode): * ido.el (ido-everywhere): * image-file.el (auto-image-file-mode): * image-mode.el (image-minor-mode): * iswitchb.el (iswitchb-mode): * jka-cmpr-hook.el (auto-compression-mode): * linum.el (linum-mode): * longlines.el (longlines-mode): * master.el (master-mode): * mb-depth.el (minibuffer-depth-indicate-mode): * menu-bar.el (menu-bar-mode): * minibuf-eldef.el (minibuffer-electric-default-mode): * mouse-sel.el (mouse-sel-mode): * msb.el (msb-mode): * mwheel.el (mouse-wheel-mode): * outline.el (outline-minor-mode): * paren.el (show-paren-mode): * recentf.el (recentf-mode): * reveal.el (reveal-mode, global-reveal-mode): * rfn-eshadow.el (file-name-shadow-mode): * ruler-mode.el (ruler-mode): * savehist.el (savehist-mode): * scroll-all.el (scroll-all-mode): * scroll-bar.el (scroll-bar-mode): * server.el (server-mode): * shell.el (shell-dirtrack-mode): * simple.el (auto-fill-mode, transient-mark-mode) (visual-line-mode, overwrite-mode, binary-overwrite-mode) (line-number-mode, column-number-mode, size-indication-mode) (auto-save-mode, normal-erase-is-backspace-mode, visible-mode): * strokes.el (strokes-mode): * time.el (display-time-mode): * t-mouse.el (gpm-mouse-mode): * tool-bar.el (tool-bar-mode): * tooltip.el (tooltip-mode): * type-break.el (type-break-mode-line-message-mode) (type-break-query-mode): * view.el (view-mode): * whitespace.el (whitespace-mode, whitespace-newline-mode) (global-whitespace-mode, global-whitespace-newline-mode): * xt-mouse.el (xterm-mouse-mode): Doc fix. * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix autogenerated docstring.
* * frame.el (delete-other-frames): Doc fix.Chong Yidong2011-09-111-1/+1
| | | | Fixes: debbugs:276
* To fixes wrt window selection and buffer list.Martin Rudalics2011-07-161-3/+6
| | | | | | | | * frame.el (select-frame-set-input-focus): New argument NORECORD. * window.el (pop-to-buffer): Select window used even if it was selected before, see discussion of (Bug#8615), (Bug#6954). Pass argument NORECORD on to select-frame-set-input-focus.
* Fix how custom themes handle faces, so the multi-tty/multi-frame case works.Chong Yidong2011-07-031-0/+110
| | | | | | | | | | | | | | * lisp/custom.el (custom-push-theme): Don't record faces in `changed' theme; this doesn't work correctly for per-frame face settings. (disable-theme): Use face-set-after-frame-default to reset faces. (custom--frame-color-default): New function. * lisp/frame.el (frame-background-mode, frame-set-background-mode): Moved from faces.el. (frame-default-terminal-background): New function. * src/xfaces.c (Finternal_merge_in_global_face): Modify the foreground and background color parameters if they have been changed.
* Remove preset entries for pop-up-frame-alist from window.el defaults.Martin Rudalics2011-06-221-90/+0
| | | | | | | | | | * window.el (display-buffer-default-specifiers) (display-buffer-alist): Remove entries for pop-up-frame-alist. Suggested by Katsumi Yamaoka <[email protected]>. * frame.el (pop-up-frame-alist, pop-up-frame-function) (special-display-frame-alist, special-display-popup-frame): Remove duplicate declarations. These are now in window.el.
* lisp/*.el: Lexical-binding cleanup.Juanma Barranquero2011-04-191-2/+2
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Refill some copyright headers.Glenn Morris2011-01-151-1/+2
|
* Merge from emacs-23Stefan Monnier2011-01-141-2/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Merge from emacs-23Stefan Monnier2010-12-131-1/+1
|\|
| * * frame.el (blink-cursor-mode): Make default t for ns.Jan Djärv2010-12-061-1/+1
| |
* | Fix background-color setting in initial frame (Bug#7373).Chong Yidong2010-11-131-28/+28
| | | | | | | | | | | | * lisp/frame.el (frame-notice-user-settings): Don't clobber other user-set parameters when calling face-set-after-frame-default in response to background-color parameter (Bug#7373).
* | Merge read-color and facemenu-read-color (Bug#7242).Chong Yidong2010-10-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/facemenu.el (facemenu-read-color): Alias for read-color. (facemenu-set-foreground, facemenu-set-background): Use read-color. * lisp/faces.el (read-color): Use the completion code from facemenu-read-color. Require match in completion. Doc fix. * lisp/frame.el (set-background-color, set-foreground-color) (set-cursor-color, set-mouse-color, set-border-color): Use read-color.
* | Avoid redefining some C defcustoms.Glenn Morris2010-10-231-44/+0
| | | | | | | | | | | | | | | | | | | | * lisp/frame.el (show-trailing-whitespace, auto-hscroll-mode) (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): Don't redefine things that are defined in C. * lisp/cus-start.el: Also handle :risky, :safe, :set, and :tag. (show-trailing-whitespace, auto-hscroll-mode) (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): Set up the appropriate custom properties.
* | Sync docs of cursor-in-non-selected-windows between Lisp and C.Glenn Morris2010-10-231-5/+5
| | | | | | | | | | | | * lisp/frame.el (cursor-in-non-selected-windows): Sync doc with C version. * src/buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: Sync doc with Lisp version.
* | Sync docs of C and Lisp version of auto-hscroll-mode.Glenn Morris2010-10-231-3/+3
| | | | | | | | | | * lisp/frame.el (auto-hscroll-mode): Sync doc with C version. * src/xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Sync doc with Lisp.
* | * lisp/frame.el (make-frame-names-alist): Don't list frames on other displays.Stefan Monnier2010-09-191-3/+4
| |
* | Remove cut buffer from documentation.Jan Djärv2010-09-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/frames.texi (Cut/Paste Other App): Remove vut-buffer text. * doc/lispref/text.texi (Low-Level Kill Ring): * doc/lispref/frames.texi (Window System Selections): Remove cut buffer documentation. * doc/misc/cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer. * lisp/term/x-win.el (x-select-text): * lisp/term/pc-win.el (x-selection-value): * lisp/term/ns-win.el (x-selection-value): * lisp/eshell/em-term.el: * lisp/w32-fns.el (x-get-selection-value): * lisp/mouse-sel.el (mouse-sel-set-selection-function): * lisp/frame.el (display-selections-p): Remove cut-buffer in documentation. * lisp/term.el (term-mouse-paste): Don't call x-get-cutbuffer. Remove cut buffer from error message.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
| |
* | * lisp/frame.el (screen-height, screen-width, set-screen-width)Stefan Monnier2010-08-031-20/+0
| | | | | | | | (set-screen-height): Remove ancient compatibility aliases.
* | * lisp/frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).Chong Yidong2010-07-131-2/+2
| |
* | Fix application of default-frame-alist (Bug#5378).Chong Yidong2010-06-301-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/frame.el (make-frame): Add default-frame-alist to the PARAMETERS argument passed to frame-creation-function (Bug#5378). * lisp/faces.el (x-handle-named-frame-geometry) (x-handle-reverse-video, x-create-frame-with-faces) (face-set-after-frame-default, tty-create-frame-with-faces): Don't separately consult default-frame-alist. It is now passed as the PARAMETER argument. * src/frame.c (get_future_frame_param, Fmake_terminal_frame): Don't check default-frame-alist.
* | Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249).Chong Yidong2010-06-261-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't add entries for `menu-bar-lines' and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist' at startup. Instead, use X resources to update the `menu-bar-mode' and `tool-bar-mode' variables at startup, and use them as defaults during frame creation. * lisp/frame.el (frame-notice-user-settings): Don't change default-frame-alist based on menu-bar-mode and tool-bar-mode, or vice versa. * lisp/menu-bar.el (menu-bar-mode): * lisp/tool-bar.el (tool-bar-mode): Don't change default-frame-alist. Set init-value to t. * lisp/startup.el (command-line): Use X resources to set the value of menu-bar-mode and tool-bar-mode, before calling frame-initialize. * src/frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars. * src/w32fns.c (Fx_create_frame): * src/nsfns.m (Fx_create_frame): Likewise. * src/xfns.c (Fx_create_frame): Don't consult X resouces when setting menu-bar-lines and tool-bar-lines. Use menu-bar-mode and tool-bar-mode, which are now set using these X resources at startup, to determine the defaults.
* | Revert last change.Chong Yidong2010-06-251-2/+1
| |
* | Change initial-frame-alist and default-frame-alist defaults (Bug#2249).Chong Yidong2010-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Since the menu-bar and tool-bar are now unconditionally turned on by default, we can let the defcustom defaults reflect that. * frame.el (initial-frame-alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249). * frame.c (Vdefault_frame_alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249).
* | Use define-minor-mode for less obvious cases.Stefan Monnier2010-05-041-18/+8
|/ | | | | | | | * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword. * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method. * international/iso-ascii.el (iso-ascii-mode): * frame.el (auto-raise-mode, auto-lower-mode): * composite.el (global-auto-composition-mode): Use define-minor-mode.
* (show-trailing-whitespace): Safe if boolean. (Bug#5312)Glenn Morris2010-01-131-0/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (frame-height): Doc fix.Glenn Morris2009-10-101-2/+11
|
* * mail/sendmail.el (send-mail-function):Stefan Monnier2009-09-131-1/+1
| | | | | | | | | | | | | | | | | * tooltip.el (tooltip-mode): * simple.el (transient-mark-mode): * rfn-eshadow.el (file-name-shadow-mode): * frame.el (blink-cursor-mode): * font-core.el (global-font-lock-mode): * files.el (temporary-file-directory) (small-temporary-file-directory, auto-save-file-name-transforms): * epa-hook.el (auto-encryption-mode): * composite.el (global-auto-composition-mode): Use custom-initialize-delay. * startup.el (command-line): Don't explicitly call custom-reevaluate-setting for all the above vars. * custom.el (custom-initialize-safe-set) (custom-initialize-safe-default): Delete.
* Docstring cleanup: use "mouse pointer" instead of "mouse cursor".Bastien Guerry2009-07-261-1/+1
|
* (delete-other-frames): Only delete frames on theStefan Monnier2009-06-041-0/+4
| | | | same terminal (bug#3442).
* * frame.el (minibuffer-frame-alist): Doc fix (Bug#3276).Chong Yidong2009-05-141-3/+8
|
* (pop-up-frame-function): Remove choice nil since itMartin Rudalics2009-05-021-1/+1
| | | | does not represent a valid value.
* * frame.el (make-frame): Doc fix.Chong Yidong2009-04-041-1/+1
|
* * frame.el (make-frame-on-tty): Remove function, inline contentsDan Nicolaescu2009-01-221-17/+0
| | | | | | | | | in the only user ... * server.el (server-create-tty-frame): ... here. * frames.texi (Multiple Displays): Remove documentation for removed function make-frame-on-tty.
* (special-display-popup-frame): Rewrite doc-string and simplify code.Martin Rudalics2009-01-141-15/+21
|
* Revert previous change (commit mistake).Chong Yidong2009-01-101-0/+17
|
* * gs.el: File removed.Chong Yidong2009-01-101-17/+0
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (window-system-default-frame-alist)Martin Rudalics2009-01-021-31/+51
| | | | | | (initial-frame-alist, minibuffer-frame-alist) (pop-up-frame-alist, pop-up-frame-function) (special-display-frame-alist): Rewrite and reformat doc-strings.
* * frame.el (make-frame-on-display): Use `string-match-p'.Juanma Barranquero2008-11-071-1/+1
|
* (make-frame-on-display): Ignore DISPLAY argument on Windows.Chong Yidong2008-11-041-15/+19
|
* Fix typos in docstrings.Juanma Barranquero2008-11-011-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (customize-apropos-options, custom-comment) (custom-comment-tag, custom-face-edit-attribute-tag): Fix typos in docstrings. (custom-buffer-done-kill): Remove * from defcustom docstring. (custom-file): Fix typo in doc of defcustom choice. * frame.el (display-visual-class): Fix typo in docstring. (initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist) (special-display-frame-alist, show-trailing-whitespace) (auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval) (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): Remove * from defcustom docstrings. * md4.el (md4-buffer): Fix typo in docstring. (md4, md4-64): Doc fixes. (md4-pack-int32): Reflow docstring. * paths.el (rmail-file-name): Remove * from defcustom docstring. (prune-directory-list, gnus-nntp-service): Fix typos in docstrings. * rect.el (open-rectangle): Reflow docstring. (spaces-string): Fix docstring typo. Use "?\s" instead of "? ". * select.el (x-get-cut-buffer): Fix typo in docstring. * timezone.el (timezone-zone-to-minute, timezone-time-from-absolute) (timezone-time-zone-from-absolute, timezone-leap-year-p): Fix typos in docstrings. * emacs-lisp/assoc.el (asort, aelement, aput, aget, amake): Fix typos in docstrings.
* (make-frame-command): Doc fix. Use display-graphic-p.Chong Yidong2008-10-221-2/+4
|