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 /lisp/net | |
| 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'.
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/eww.el | 8 |
1 files changed, 3 insertions, 5 deletions
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) |