diff options
| author | Stefan Monnier | 2013-09-03 15:49:54 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-09-03 15:49:54 -0400 |
| commit | fde38d49782ef4b0e8f9b01d2e35b1856ef5c325 (patch) | |
| tree | 7eeca5a4e159a92798bed68ac6940f6c37aab871 | |
| parent | 84032db718d3ffc643612c6e94ea9a7956675c4e (diff) | |
| download | emacs-fde38d49782ef4b0e8f9b01d2e35b1856ef5c325.tar.gz emacs-fde38d49782ef4b0e8f9b01d2e35b1856ef5c325.zip | |
* lisp/finder.el (finder-compile-keywords): Don't mess with windows.
* lisp/net/eww.el (eww-display-raw): Remove unused argument `charset'.
Update call to it.
(eww-change-select): Remove unused var `properties'.
(eww-make-unique-file-name): Remove unused var `base'.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/finder.el | 4 | ||||
| -rw-r--r-- | lisp/net/eww.el | 8 | ||||
| -rw-r--r-- | src/lisp.h | 13 |
4 files changed, 12 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9030d5da9fb..468f7c7d70d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * net/eww.el (eww-display-raw): Remove unused argument `charset'. | ||
| 4 | Update call to it. | ||
| 5 | (eww-change-select): Remove unused var `properties'. | ||
| 6 | (eww-make-unique-file-name): Remove unused var `base'. | ||
| 7 | |||
| 8 | * finder.el (finder-compile-keywords): Don't mess with windows. | ||
| 9 | |||
| 3 | * calculator.el (calculator-funcall): Fix typo in last change. | 10 | * calculator.el (calculator-funcall): Fix typo in last change. |
| 4 | 11 | ||
| 5 | * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge. | 12 | * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge. |
diff --git a/lisp/finder.el b/lisp/finder.el index e07c6a241ab..c06c01c2c97 100644 --- a/lisp/finder.el +++ b/lisp/finder.el | |||
| @@ -225,8 +225,8 @@ from; the default is `load-path'." | |||
| 225 | (lambda (a b) (string< (symbol-name (car a)) | 225 | (lambda (a b) (string< (symbol-name (car a)) |
| 226 | (symbol-name (car b)))))) | 226 | (symbol-name (car b)))))) |
| 227 | 227 | ||
| 228 | (save-excursion | 228 | (with-current-buffer |
| 229 | (find-file generated-finder-keywords-file) | 229 | (find-file-noselect generated-finder-keywords-file) |
| 230 | (setq buffer-undo-list t) | 230 | (setq buffer-undo-list t) |
| 231 | (erase-buffer) | 231 | (erase-buffer) |
| 232 | (insert (autoload-rubric generated-finder-keywords-file | 232 | (insert (autoload-rubric generated-finder-keywords-file |
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 739511e68fe..8b4dd2eed5f 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -159,7 +159,7 @@ word(s) will be searched for via `eww-search-prefix'." | |||
| 159 | ((string-match "^image/" (car content-type)) | 159 | ((string-match "^image/" (car content-type)) |
| 160 | (eww-display-image)) | 160 | (eww-display-image)) |
| 161 | (t | 161 | (t |
| 162 | (eww-display-raw charset))) | 162 | (eww-display-raw))) |
| 163 | (setq eww-history-position 0) | 163 | (setq eww-history-position 0) |
| 164 | (cond | 164 | (cond |
| 165 | (point | 165 | (point |
| @@ -296,7 +296,7 @@ word(s) will be searched for via `eww-search-prefix'." | |||
| 296 | (list :background (car new-colors)) | 296 | (list :background (car new-colors)) |
| 297 | t)))))) | 297 | t)))))) |
| 298 | 298 | ||
| 299 | (defun eww-display-raw (charset) | 299 | (defun eww-display-raw () |
| 300 | (let ((data (buffer-substring (point) (point-max)))) | 300 | (let ((data (buffer-substring (point) (point-max)))) |
| 301 | (eww-setup-buffer) | 301 | (eww-setup-buffer) |
| 302 | (let ((inhibit-read-only t)) | 302 | (let ((inhibit-read-only t)) |
| @@ -756,7 +756,6 @@ appears in a <link> or <a> tag." | |||
| 756 | "Change the value of the select drop-down menu under point." | 756 | "Change the value of the select drop-down menu under point." |
| 757 | (interactive) | 757 | (interactive) |
| 758 | (let* ((input (get-text-property (point) 'eww-form)) | 758 | (let* ((input (get-text-property (point) 'eww-form)) |
| 759 | (properties (text-properties-at (point))) | ||
| 760 | (completion-ignore-case t) | 759 | (completion-ignore-case t) |
| 761 | (options | 760 | (options |
| 762 | (delq nil | 761 | (delq nil |
| @@ -930,8 +929,7 @@ The browser to used is specified by the `shr-external-browser' variable." | |||
| 930 | (setq file "!")) | 929 | (setq file "!")) |
| 931 | ((string-match "\\`[.]" file) | 930 | ((string-match "\\`[.]" file) |
| 932 | (setq file (concat "!" file)))) | 931 | (setq file (concat "!" file)))) |
| 933 | (let ((base file) | 932 | (let ((count 1)) |
| 934 | (count 1)) | ||
| 935 | (while (file-exists-p (expand-file-name file directory)) | 933 | (while (file-exists-p (expand-file-name file directory)) |
| 936 | (setq file | 934 | (setq file |
| 937 | (if (string-match "\\`\\(.*\\)\\([.][^.]+\\)" file) | 935 | (if (string-match "\\`\\(.*\\)\\([.][^.]+\\)" file) |
diff --git a/src/lisp.h b/src/lisp.h index 54c0b8cf11d..b19745baf91 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2630,19 +2630,6 @@ typedef jmp_buf sys_jmp_buf; | |||
| 2630 | they are bound by a function application or a let form, stores the | 2630 | they are bound by a function application or a let form, stores the |
| 2631 | code to be executed for unwind-protect forms. | 2631 | code to be executed for unwind-protect forms. |
| 2632 | 2632 | ||
| 2633 | If func is non-zero, undoing this binding applies func to old_value; | ||
| 2634 | This implements record_unwind_protect. | ||
| 2635 | |||
| 2636 | Otherwise, the element is a variable binding. | ||
| 2637 | |||
| 2638 | If the symbol field is a symbol, it is an ordinary variable binding. | ||
| 2639 | |||
| 2640 | Otherwise, it should be a structure (SYMBOL WHERE . CURRENT-BUFFER), | ||
| 2641 | which means having bound a local value while CURRENT-BUFFER was active. | ||
| 2642 | If WHERE is nil this means we saw the default value when binding SYMBOL. | ||
| 2643 | WHERE being a buffer or frame means we saw a buffer-local or frame-local | ||
| 2644 | value. Other values of WHERE mean an internal error. | ||
| 2645 | |||
| 2646 | NOTE: The specbinding union is defined here, because SPECPDL_INDEX is | 2633 | NOTE: The specbinding union is defined here, because SPECPDL_INDEX is |
| 2647 | used all over the place, needs to be fast, and needs to know the size of | 2634 | used all over the place, needs to be fast, and needs to know the size of |
| 2648 | union specbinding. But only eval.c should access it. */ | 2635 | union specbinding. But only eval.c should access it. */ |