aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2013-09-03 15:49:54 -0400
committerStefan Monnier2013-09-03 15:49:54 -0400
commitfde38d49782ef4b0e8f9b01d2e35b1856ef5c325 (patch)
tree7eeca5a4e159a92798bed68ac6940f6c37aab871 /lisp
parent84032db718d3ffc643612c6e94ea9a7956675c4e (diff)
downloademacs-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')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/finder.el4
-rw-r--r--lisp/net/eww.el8
3 files changed, 12 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9030d5da9fb..468f7c7d70d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,12 @@
12013-09-03 Stefan Monnier <monnier@iro.umontreal.ca> 12013-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)