summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/progmodes/cc-mode.el: Minor cleanup of var declarations.Stefan Monnier2013-08-282-107/+90
| | | | | | | | | | | | | | (c-define-abbrev-table): Add `doc' argument. (c-mode-abbrev-table, c++-mode-abbrev-table) (objc-mode-abbrev-table, java-mode-abbrev-table) (idl-mode-abbrev-table, pike-mode-abbrev-table) (awk-mode-abbrev-table): Use it. (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table) (c++-mode-map, objc-mode-syntax-table, objc-mode-map) (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table) (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map): Move initialization into the declaration; and remove any autoload cookie.
* * lisp/epg.el (epg--process-filter): Use with-current-buffer, save-excursionStefan Monnier2013-08-282-27/+27
| | | | and dynamic let binding.
* * lisp/vc/smerge-mode.el: Remove redundant :group args.Stefan Monnier2013-08-282-16/+7
|
* * lisp/emacs-lisp/package.el (package-activate-1): Don't add unnecessarilyStefan Monnier2013-08-282-4/+16
| | | | to load-path.
* * lisp/isearch.el (isearch-reread-key-sequence-naturally): Use non-nilJuri Linkov2013-08-282-1/+20
| | | | | | | | arg DONT-DOWNCASE-LAST of `read-key-sequence'. (isearch-other-meta-char): Handle an undefined shifted printing character by downshifting it. Fixes: debbugs:15200
* * lisp/isearch.el (isearch-search): Change regexp error message for ↵Juri Linkov2013-08-282-4/+17
| | | | | | non-regexp searches. Fixes: debbugs:15166
* lisp/gnus/mm-decode.el (mm-temp-files-delete): Fix file deletion logicKatsumi Yamaoka2013-08-282-11/+15
|
* * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,Paul Eggert2013-08-272-1/+6
| | | | for portability to hosts where /bin/sh has problems.
* * lisp/emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.Stefan Monnier2013-08-272-5/+10
|
* Spelling fixes.Paul Eggert2013-08-271-1/+1
|
* * lisp/isearch.el (isearch-other-meta-char): Don't store kmacro commandsJuri Linkov2013-08-272-0/+12
| | | | | | in the keyboard macro. Fixes: debbugs:15126
* * lisp/isearch.el (isearch-quote-char): Comment out converting unibyteJuri Linkov2013-08-272-4/+14
| | | | | | to multibyte, thus syncing with its `quoted-insert' counterpart. Fixes: debbugs:15166
* Add missing argument in call of get-largest-window (Bug#15185).Martin Rudalics2013-08-272-1/+7
| | | | | | * window.el (display-buffer-use-some-window): Add missing argument in call of get-largest-window (Bug#15185). Reported by Stephen Leake.
* Merge from emacs-24; up to 2013-01-03T01:56:56Z!rgm@gnu.orgGlenn Morris2013-08-272-1/+5
|\
| * * lisp/emacs-lisp/package.el (package-buffer-info): Fix message typo.Glenn Morris2013-08-232-1/+5
| |
* | * lisp/progmodes/python.el (python-font-lock-keywords): Don't return nilStefan Monnier2013-08-262-17/+17
| | | | | | | | | | | | from a matcher-function unless there's no more matches. Fixes: debbugs:15161
* | * minibuffer.el: Revert change from 2013-08-20.Michael Albinus2013-08-268-23/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp.el (tramp-find-method, tramp-find-user): Mark result with text property `tramp-default', if appropriate. (tramp-check-proper-host): New defun. (tramp-dissect-file-name): Do not check hostname. Revert change of 2013-03-18. (tramp-backtrace): Make VEC-OR-PROC optional. * net/tramp-adb.el (tramp-adb-maybe-open-connection): * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): * net/tramp-sh.el (tramp-maybe-open-connection): * net/tramp-smb.el (tramp-smb-maybe-open-connection): Apply `tramp-check-proper-host'.
* | * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'Tassilo Horn2013-08-262-9/+14
| | | | | | | | lambda expression in order to have `describe-variable' display it.
* | * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):Michael Albinus2013-08-262-2/+7
| | | | | | | | BUF can be optional. (Bug#15186)
* | Fix broken customization in Flymake.Xue Fuqiao2013-08-262-1/+6
| | | | | | | | | | * lisp/progmodes/flymake.el (flymake-get-real-file-name-function): Fix broken customization. (Bug#15184)
* | Improve indentation of bracelists defined by macros (without "=").Alan Mackenzie2013-08-252-18/+40
| | | | | | | | | | | | * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro expansion begins with "{", regard it as bracelist when it doesn't contain a ";".
* | Parse C++ inher-intro when there's a template split over 2 lines.Alan Mackenzie2013-08-253-8/+15
| | | | | | | | | | | | | | | | * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more rigorously the search for "class" etc. followed by ":". * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for random languages a regexp which never matches rather than nil.
* | Handle "/"s more accurately in test for virtual semicolons (AWK Mode).Alan Mackenzie2013-08-253-29/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re) (c-awk-regexp-one-line-possibly-open-char-list-re) (c-awk-one-line-possibly-open-regexp-re) (c-awk-one-line-non-syn-ws*-re): Remove. (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re) (c-awk-space*-/-re, c-awk-space*-regexp-/-re) (c-awk-space*-unclosed-regexp-/-re): New constants. (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which aren't regexp delimiters. * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in handling for a rare situation in AWK Mode involving unterminated strings/regexps.
* | * lisp/files.el (auto-mode-alist): Use sh-mode for .bash_history.Glenn Morris2013-08-232-2/+4
| |
* | * lisp/files.el (create-file-buffer): Rework previous change.Glenn Morris2013-08-232-10/+9
| |
* | * lisp/files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.Glenn Morris2013-08-232-0/+3
| |
* | * files.el (create-file-buffer): Handle a file whose basename is all spaces.Glenn Morris2013-08-232-2/+11
| | | | | | | | Fixes: debbugs:15162
* | * lisp/textmodes/fill.el (fill-match-adaptive-prefix): Don't throw awayStefan Monnier2013-08-232-1/+4
| | | | | | | | | | | | text-properties. Fixes: debbugs:15155
* | * lisp/calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn'tStefan Monnier2013-08-232-11/+17
| | | | | | | | | | | | exist any more. (calc-keypad-redraw): Remove unused var `pad'. (calc-keypad-press): Remove unused var `menu'.
* | In display-buffer-pop-up-frame make BUFFER current (Bug#15133).Martin Rudalics2013-08-232-1/+10
| | | | | | | | | | | | * window.el (display-buffer-pop-up-frame): Call pop-up-frame-function with BUFFER current so `make-frame' will use it as the new frame's buffer (Bug#15133).
* | * lisp/erc/erc.el: Use lexical-binding.Stefan Monnier2013-08-226-387/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (erc-user-full-name): Minor CSE simplification. (erc-mode-map): Assume command-remapping is available. (erc-once-with-server-event): Replace `forms' arg with a function arg. (erc-once-with-server-event-global): Remove. (erc-ison-p): Adjust to change in erc-once-with-server-event. (erc-get-buffer-create): Remove arg `proc'. (iswitchb-make-buflist-hook): Declare. (erc-setup-buffer): Use pcase; avoid ((lambda ..) ..). (read-passwd): Assume it exists. (erc-display-line, erc-cmd-IDLE): Avoid add-to-list, adjust to change in erc-once-with-server-event. (erc-cmd-JOIN, erc-set-channel-limit, erc-set-channel-key) (erc-add-query): Minor CSE simplification. (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Adjust to change in erc-once-with-server-event. (erc-echo-notice-in-user-and-target-buffers): Avoid add-to-list. * lisp/erc/erc-track.el: Use lexical-binding. (erc-make-mode-line-buffer-name): Use closures instead of `(lambda...). (erc-faces-in): Avoid add-to-list. * lisp/erc/erc-notify.el: Use lexical-binding. (erc-notify-timer): Adjust to change in erc-once-with-server-event. (erc-notify-QUIT): Use a closure instead of `(lambda...). * lisp/erc/erc-list.el: Use lexical-binding. (erc-list-install-322-handler, erc-cmd-LIST): Adjust to change in erc-once-with-server-event. * lisp/erc/erc-button.el: Use lexical-binding. (erc-button-next-function): Use a closure instead of `(lambda...).
* | * lisp/calendar/timeclock.el: Minor cleanups.Stefan Monnier2013-08-212-68/+63
| | | | | | | | | | | | | | | | | | | | (timeclock-ask-before-exiting, timeclock-use-display-time): Use `symbol'. (timeclock-modeline-display): Define as alias before the actual definition. (timeclock-mode-line-display): Use define-minor-mode. (timeclock-day-list-template): Make it a function, add an argument. (timeclock-day-list-required, timeclock-day-list-length) (timeclock-day-list-debt, timeclock-day-list-span) (timeclock-day-list-break): Adjust calls accordingly.
* | * lisp/emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):Stefan Monnier2013-08-212-6/+9
| | | | | | | | Use read--expression so that completion works again.
* | Add rudimentary inferior shell interactionSam Steingold2013-08-202-0/+67
| | | | | | | | | | | | | | * lisp/progmodes/sh-script.el (sh-shell-process): New buffer-local variable. (sh-set-shell): Reset it. (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step): New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
* | * lisp/align.el: Use lexical-binding.Stefan Monnier2013-08-202-211/+203
| | | | | | | | (align-region): Simplify accordingly.
* | * minibuffer.el (completion--sifn-requote): Bind `non-essential'.Michael Albinus2013-08-203-6/+14
| | | | | | | | | | * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of `non-essential' up.
* | Gnus: Exclude iso-2022-jp-2 and shift_jis from the default value set to ↵Katsumi Yamaoka2013-08-192-5/+10
| | | | | | | | mm-coding-system-priorities for Japanese users
* | * net/tramp.el:Michael Albinus2013-08-178-24/+33
| | | | | | | | | | | | | | | | | | | | * net/tramp-adb.el: * net/tramp-cmds.el: * net/tramp-ftp.el: * net/tramp-gvfs.el: * net/tramp-gw.el: * net/tramp-sh.el: Don't wrap external variable declarations by `eval-when-compile'.
* | * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFsLars Magne Ingebrigtsen2013-08-162-1/+5
| | | | | | | | Now that Emacs supports ImageMagick animations.
* | * net/tramp-cmds.el (top): Don't declare `buffer-name'.Michael Albinus2013-08-162-11/+18
| | | | | | | | (tramp-append-tramp-buffers): Rewrite buffer local variables part.
* | In mouse-autoselect-window-select do autoselect when mouse pointer is on margin.Martin Rudalics2013-08-162-2/+9
| | | | | | | | | | * window.el (mouse-autoselect-window-select): Do autoselect when mouse pointer is on margin.
* | Reverse previous change, because kill-{new, append} don't have obvious ↵Xue Fuqiao2013-08-162-13/+2
| | | | | | | | advantage.
* | Advertise using `kill-new' and `kill-append' in Lisp programs.Xue Fuqiao2013-08-162-2/+13
| | | | | | | | | | * lisp/simple.el (copy-region-as-kill, kill-ring-save): Advertise using `kill-new' and `kill-append' in Lisp programs.
* | * net/ange-ftp.el (ange-ftp-skip-msgs): Bump :version.Glenn Morris2013-08-161-0/+1
| |
* | * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV (tiny change)William Parsons2013-08-162-1/+5
| | | | | | | | Fixes: debbugs:1972
* | * lisp/net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):Glenn Morris2013-08-162-3/+8
| | | | | | | | | | | | Handle "Remote Directory" response of some clients. Fixes: debbugs:15058
* | * bytecomp.el (byte-compile-make-variable-buffer-local): Tweak warning.Glenn Morris2013-08-152-1/+4
| | | | | | | | Fixes: debbugs:14926
* | Simplify news and mail menu itemsGlenn Morris2013-08-152-26/+8
| | | | | | | | | | | | | | * lisp/menu-bar.el (send-mail-item-name, read-mail-item-name): Remove. (menu-bar-tools-menu): Simplify news and mail items. Fixes: debbugs:15095
* | Add functions to change the speed of animated imagesGlenn Morris2013-08-153-10/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/image-mode.el (image-mode-map): Add menu items to reverse, increase, decrease, reset animation speed. (image--set-speed, image-increase-speed, image-decrease-speed) (image-reverse-speed, image-reset-speed): New functions. (image-mode-map): Add bindings for speed commands. * lisp/image.el (image-animate-get-speed, image-animate-set-speed): New functions. (image-animate-timeout): Respect image :speed property. * etc/NEWS: Mention this.
* | Spelling fixes.Paul Eggert2013-08-153-10/+10
| |