- 23 Jul, 2013 12 commits
-
-
Juanma Barranquero authored
-
Glenn Morris authored
-
Paul Eggert authored
-
Paul Eggert authored
* configure.ac (USE_NCURSES): New symbol. * src/dispnew.c (init_display): Depend on USE_NCURSES, not GNU_LINUX, to decide whether ncurses is being used. Without this change, GCC complains about tgetent not being declared, on a system that has tinfo installed but ncurses not installed.
-
Paul Eggert authored
-
Katsumi Yamaoka authored
* gnus.el (gnus-continuum-version): * gnus-msg.el (gnus-extended-version): Simplify. * gnus.el (gnus-continuum-version-1): Remove. * gnus-msg.el (gnus-bug): Revert.
-
Paul Eggert authored
* data.c (Fsetq_default): * eval.c (Fif, Fcond, Fprog1, Fsetq, Fquote, Ffunction, Fdefvar) (Fdefconst, FletX, Flet, Fwhile, Fcatch, Funwind_protect) (Fcondition_case): Tune by taking advantage of the fact that ARGS is always a list when a function is declared to have UNEVALLED args.
-
Paul Eggert authored
GCC 4.6 complains about -Wunused-local-typedefs, introduced in 4.7.
-
Katsumi Yamaoka authored
* gnus.el (gnus-continuum-version): Do main calculations in integers. (gnus-continuum-version-1): New function, return a string. * gnus-msg.el (gnus-extended-version, gnus-bug): Use gnus-continuum-version-1 instead of gnus-continuum-version.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(desktop-clear): Simplify; remove useless checks against invalid buffer names. (desktop-list*): Use cl-list*. (desktop-buffer-info, desktop-create-buffer): Simplify.
-
Leo Liu authored
value. Fixes: debbugs:14933
-
- 22 Jul, 2013 12 commits
-
-
Stefan Monnier authored
extracted from autoload--insert-text. (autoload--insert-text): Remove. (autoload--print-cookie-text): New function, extracted from autoload--insert-cookie-text. (autoload--insert-cookie-text): Remove. (autoload-generate-file-autoloads): Adjust calls accordingly.
-
Stefan Monnier authored
(winner-mode): Simplify accordingly.
-
Stefan Monnier authored
not constant. Don't use `cl-member' for the base case.
-
Stefan Monnier authored
(subword-forward-regexp): Make it a constant. Wrap optional \\W in its own group. (subword-backward-regexp): Make it a constant. (subword-forward-internal): Don't treat a trailing capital as the beginning of a word. * test/automated/subword-tests.el: New file. Fixes: debbugs:13758
-
Paul Eggert authored
when including <sys/user.h>, to prevent Sparc/ARM machine/frame.h from messing up Emacs's 'struct frame'. Fixes: debbugs:14923
-
Ari Roponen authored
Don't modify the global value of tabulated-list-revert-hook.
-
Glenn Morris authored
-
Michael Albinus authored
file-notify-rm-watch and file-notify-supported-p. Move file-remote-p down. * errors.texi (Standard Errors): Add file-notify-error. * os.texi (Desktop Notifications): Rename from Notifications. (File Notifications): New node. * elisp.texi (Top): Update menu for these changes.
-
Michael Albinus authored
-
Stefan Monnier authored
(success): Remove var. (url-http-handle-authentication): Return the value that `success' should take instead of setting `success' directly. Don't set `status' since it's not used. (url-http-parse-headers): Avoid unneeded setq. Move the `setq success'. (url-http): Use pcase. (url-http-file-exists-p): Simplify.
-
Juanma Barranquero authored
(desktop-before-saving-frames-functions): New hook. (desktop--process-minibuffer-frames): Set desktop-mini parameter only for frames being saved. Rename from desktop--save-minibuffer-frames. (desktop-save-frames): Run hook desktop-before-saving-frames-functions. Do not save frames with non-nil `desktop-dont-save' parameter. Filter out deleted frames. (desktop--find-frame): Use cl-find-if. (desktop--select-frame): Use cl-(first|second|third) to access values of desktop-mini. (desktop--make-frame): Use cl-delete-if. (desktop--sort-states): Fix sorting of minibuffer-owning frames. (desktop-restore-frames): Use cl-(first|second|third) to access values of desktop-mini. Look for visible frame at the end, not while restoring frames.
-
Juanma Barranquero authored
(dired-mark-unmarked-files, dired-virtual, dired-guess-default) (dired-mark-sexp, dired-filename-at-point): Use string-match-p, looking-at-p.
-
- 21 Jul, 2013 8 commits
-
-
Juanma Barranquero authored
(desktop-saved-frame-states): Rename from desktop--saved-states; all users changed. (desktop-save-frames): Rename from desktop--save-frames. Do not save state to desktop file. (desktop-save): Save desktop-saved-frame-states to desktop file and reset to nil. (desktop-restoring-frames-p): New function. (desktop-restore-frames): Use it. Rename from desktop--restore-frames. (desktop-read): Use desktop-restoring-frames-p. Do not try to fix buffer-lists when restoring frames. Suggested by Martin Rudalics.
-
Paul Eggert authored
It was inadvertently omitted. It's needed only if HAVE_MENUS && ! (USE_X_TOOLKIT || USE_GTK).
-
Jan Djärv authored
frame have focus. Fixes: debbugs:14895
-
Glenn Morris authored
-
Paul Eggert authored
* callproc.c (child_setup): When the child's exec fails, output the program name, as that's more useful. Use O_NONBLOCK to avoid deadlock. * process.c (create_process_1): Remove; no longer needed. (create_process): Remove timer hack; no longer needed, now that the child avoids deadlock.
-
Paul Eggert authored
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(desktop--filter-iconified-position): New function. (desktop-filter-parameters-alist): Add entries for `top' and `left'.
-
- 20 Jul, 2013 8 commits
-
-
Glenn Morris authored
* lisp/image-dired.el (image-dired-track-original-file): Use with-current-buffer. (image-dired-track-thumbnail): Use with-current-buffer. Avoid changing point of wrong window.
-
Glenn Morris authored
* lisp/progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped): Let `message' do the formatting. (def-gdb-preempt-display-buffer): Add explicit format.
-
Glenn Morris authored
-
Glenn Morris authored
Avoid changing point of wrong window. Fixes: debbugs:14909
-
Andreas Schwab authored
change.
-
Paul Eggert authored
* configure.ac (PTY_TTY_NAME_SPRINTF): Use PTY_NAME_SIZE, not sizeof pty_name, since pty_name is now a pointer to the array. * src/process.c (PTY_NAME_SIZE): New constant. (pty_name): Remove static variable; it's now auto. (allocate_pty): Define even if !HAVE_PTYS; that's simpler. Take pty_name as an arg rather than using a static variable. All callers changed. (create_process): Recover pty_flag from process, not from volatile local. (create_pty): Stay inside array even when pty allocation fails. (Fmake_serial_process): Omit unnecessary initializaiton of pty_flag.
-
Paul Eggert authored
Mention that it's needed only for older GCCs.
-
Kenichi Handa authored
-