Stefan Monnier
8e010cf6e7
* lisp/emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
2015-02-04 14:45:07 -05:00
Stefan Monnier
df179332d4
* lisp/gnus/mm-util.el (mm-with-unibyte-current-buffer): Don't emit a warning.
...
We already get an obsolescence message. Use `declare'.
2015-02-04 14:44:24 -05:00
Stefan Monnier
ebbdc6c30d
* lisp/textmodes/flyspell.el: Use lexical-binding and cl-lib.
...
(mail-mode-flyspell-verify): Fix last change.
(flyspell-external-point-words, flyspell-large-region):
Avoid add-to-list on local vars.
2015-02-04 14:43:47 -05:00
Tassilo Horn
da9c6486d2
Fix typo causing a void-variable error: pkg-desc
...
* emacs-lisp/package.el (package-installed-p): Fix typo causing
void-variable error.
2015-02-04 20:39:16 +01:00
Stefan Monnier
73b17f7c2b
* lisp/cedet: Use cl-generic instead of EIEIO's defgeneric/defmethod
...
* lisp/cedet/**/*.el: Mechanically replace all calls to defmethod/defgeneric
by calls to cl-defmethod/cl-defgeneric.
* lisp/cedet/srecode/table.el:
* lisp/cedet/srecode/fields.el:
* lisp/cedet/srecode/dictionary.el:
* lisp/cedet/srecode/compile.el:
* lisp/cedet/semantic/debug.el:
* lisp/cedet/semantic/db-ref.el:
* lisp/cedet/ede/base.el:
* lisp/cedet/ede/auto.el:
* lisp/cedet/ede.el: Require `cl-generic'.
2015-02-04 13:49:49 -05:00
Artur Malabarba
102a21d689
emacs-lisp/package.el (package-reinstall): Accept package-desc objects.
2015-02-04 15:17:06 +00:00
Artur Malabarba
5687ac9f01
emacs-lisp/package.el (package-install): Mark dependencies as selected.
...
In particular, when given a package-desc object which is already
installed, the package is not downloaded again.
2015-02-04 15:04:46 +00:00
Artur Malabarba
5b83f03725
emacs-lisp/package.el (package-delete): Always unselect package.
2015-02-04 11:01:02 -02:00
Eric Abrahamsen
25224ab284
lisp/gnus/nnir.el: Revert "Enable non-ASCII IMAP searches"
2015-02-04 05:45:02 +00:00
Paul Eggert
ac27180cca
Remove no-longer-used two_byte_p calculations
...
* dispextern.h (struct glyph_string): Remove member two_byte_p.
All uses removed.
* xdisp.c (get_glyph_face_and_encoding): Remove arg two_byte_p.
All callers changed.
2015-02-03 18:54:01 -08:00
Paul Eggert
0f5e044996
* texinfo.tex: Update from gnulib.
2015-02-03 18:26:20 -08:00
Paul Eggert
5b82ae8599
* .gitattributes: Ignore blanks at EOL in texinfo.tex.
2015-02-03 18:26:19 -08:00
Artur Malabarba
200a47d45c
emacs-lisp/package.el (package--read-pkg-desc): Fix tar-desc reference.
2015-02-03 18:14:28 -02:00
Artur Malabarba
2a4a5069a6
emacs-lisp/package.el (package-menu-execute): Offer to remove packages.
2015-02-03 17:51:39 -02:00
Artur Malabarba
504fada7e7
emacs-lisp/package.el (package-desc-status): Add "dependency" status to Package Menu.
2015-02-03 13:56:59 +00:00
Artur Malabarba
c184e85ea2
emacs-lisp/package.el (package--user-selected-p): New function.
...
Populates `package-selected-packages' if necessary, and then checks if
symbol PKG is contained in it.
2015-02-03 13:54:41 +00:00
Artur Malabarba
6d767f961f
automated/package-test.el (package-test-get-deps): New test.
2015-02-03 11:38:08 +00:00
Artur Malabarba
2a4a94db1a
emacs-lisp/package.el (package--get-deps): delete-dups when ONLY is nil.
2015-02-03 11:36:10 +00:00
Artur Malabarba
0ee15a20bc
emacs-lisp/package.el (package-delete): Document NOSAVE.
2015-02-03 11:19:56 +00:00
Thierry Volpiatto
88acd70e67
emacs-lisp/package.el (package-reinstall): Don't change selected status.
2015-02-03 11:18:46 +00:00
Artur Malabarba
e17d033781
NEWS: Document package.el's improved dependency-handling.
2015-02-03 11:08:02 +00:00
Michael Albinus
24fa4ff944
Further work on suppressing shell history in Tramp
...
Fixes: debbugs:19731
* net/tramp-sh.el (tramp-histfile-override): Fix docstring.
(tramp-open-shell, tramp-maybe-open-connection): Set also
HISTFILESIZE and HISTSIZE when needed.
2015-02-03 09:24:57 +01:00
Paul Eggert
1905cb7637
Omit unnecessary var if GTK or NS
...
* frame.c, frame.h (frame_default_tool_bar_height) [USE_GTK||HAVE_NS]:
Now a constant zero on these platforms.
2015-02-02 16:21:22 -08:00
Michael Albinus
c10828bd85
* net/tramp-sh.el (tramp-histfile-override): Use t instead of `unset'.
2015-02-02 20:47:31 +01:00
Michael Albinus
954ca0f017
* net/tramp-sh.el (tramp-histfile-override): Use `unset' as default.
2015-02-02 16:42:01 +01:00
Artur Malabarba
8ad2ee33a1
emacs-lisp/package.el (package--get-deps): Fix returning duplicates.
2015-02-02 13:26:40 -02:00
Artur Malabarba
ef6fa2fe0d
emacs-lisp/package.el (package-menu-execute): Clean unnecessary `and'.
2015-02-02 13:25:16 -02:00
Michael Albinus
219119e906
Fix last tramp-sh.el commit
2015-02-02 13:49:57 +01:00
Artur Malabarba
fe188b2e4f
emacs-lisp/package.el (package-initialize): Populate `package-selected-packages'.
2015-02-02 11:56:35 +00:00
Michael Albinus
6f8372ded1
Tramp: Support unsetting HISTFILE.
...
Fixes: debbugs:19731
* lisp/net/tramp-sh.el (tramp-histfile-override): Add another choice 'unset.
(tramp-open-shell, tramp-maybe-open-connection): Support it.
2015-02-02 12:38:36 +01:00
Thierry Volpiatto
060dc14590
emacs-lisp/package.el: Fix previous patch
2015-02-02 10:15:36 +00:00
Artur Malabarba
0326960d3d
emacs-lisp/package.el: Many style changes
2015-02-01 21:01:37 -02:00
Artur Malabarba
8334021e5a
package.el (package--get-deps): Fix for indirect dependencies.
2015-02-01 20:50:13 -02:00
Artur Malabarba
5329208baf
emacs-lisp/package.el (package-install): Rename ARG to MARK-SELECTED.
2015-02-01 20:34:16 -02:00
Artur Malabarba
0ade763b74
emacs-lisp/package.el (package-selected-packages): Fix :type
2015-02-01 20:28:21 -02:00
Thierry Volpiatto
e2f0f263df
emacs-lisp/package.el: Don't allow deleting dependencies.
2015-02-01 20:17:51 -02:00
Martin Rudalics
92a8dec54e
Give `window-text-pixel-size' optional BUFFER argument.
...
[This reinstalls commit 1d1162479c ,
which I mistakenly reverted. --eggert]
* xdisp.c (Fwindow_text_pixel_size): Add optional argument BUFFER.
* display.texi (Size of Displayed Text): Describe optional
argument BUFFER of `window-text-pixel-size'.
2015-02-01 12:06:32 -08:00
Paul Eggert
241260cc28
Revert changes installed by xwidgets merge
2015-02-01 11:45:15 -08:00
Martin Rudalics
1d1162479c
Give `window-text-pixel-size' optional BUFFER argument.
...
* xdisp.c (Fwindow_text_pixel_size): Add optional argument BUFFER.
* display.texi (Size of Displayed Text): Describe optional
argument BUFFER of `window-text-pixel-size'.
2015-02-01 16:49:46 +01:00
Ulrich Müller
f1cea3e96c
configure.ac: Fix a typo.
2015-02-01 15:05:20 +01:00
Glenn Morris
e8e483a974
# Auto-commit of loaddefs files.
2015-02-01 06:24:33 -05:00
Joakim Verona
9fe732a02a
Better changelog for xwidgets
2015-02-01 01:30:02 +01:00
Joakim Verona
d75b60ce5f
NEWS entry and Changelog xwidgets
2015-02-01 01:16:40 +01:00
Joakim Verona
69815dfe37
Merge branch 'master' into xwidget
2015-02-01 00:37:46 +01:00
Joakim Verona
4edad429ca
Fix compile warnings xwidget.el
2015-01-31 21:09:11 +01:00
Joakim Verona
3fd802081f
Fix for crash when displaying xwidget in a tty
...
Xwidgets are now handled the same as images in the tty case,
they are ignored.
2015-01-31 21:07:07 +01:00
Eli Zaretskii
a2c32b0cfc
Avoid aborts when keyboard-coding-system is raw-text (Bug#19532)
...
src/coding.c (raw_text_coding_system_p): New function.
src/keyboard.c (read_decoded_event_from_main_queue): Use it when the
keyboard coding-system is 'raw-text'.
src/coding.h (raw_text_coding_system_p): Add prototype.
2015-01-31 20:48:53 +02:00
Andreas Schwab
080b9b56c9
Don't reimplement move-if-change badly
...
* Makefile.in (gl-stamp): Generate globals.h through the use of
move-if-change.
(globals.h): Replace with empty command.
2015-01-31 09:42:16 +01:00
Eli Zaretskii
eaea02c71a
Fix while-no-input loops (Bug#19547)
...
src/keyboard.c (kbd_buffer_store_event_hold): Ignore FOCUS_OUT_EVENT
and ICONIFY_EVENT for the purposes of breaking while-no-input
loops.
2015-01-31 10:35:26 +02:00
Eli Zaretskii
376ba20ac1
Fix last commit, which confused WINDOWSNT with MSDOS.
...
src/dired.c (read_dirent): Correct the "MSDOS hacks" hack: the
special code for errno = ENOENT or EACCES is needed for WINDOWSNT,
not for MSDOS.
2015-01-31 10:05:10 +02:00