aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-10-17 15:42:10 +0000
committerJuanma Barranquero2002-10-17 15:42:10 +0000
commit264ef5866f9bee146d0039286d997d1c666caa00 (patch)
treef4d1dc79fcd81955efa456bb7362aa1c13c59135
parent13ae10768e4619ce735d5f3f2e260230828bb8c7 (diff)
downloademacs-264ef5866f9bee146d0039286d997d1c666caa00.tar.gz
emacs-264ef5866f9bee146d0039286d997d1c666caa00.zip
(remq): Fix typo.
-rw-r--r--lisp/subr.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 5989abdfc4a..857c6134719 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -186,7 +186,7 @@ SEQ must be a list, vector, or string. The comparison is done with `equal'."
186 (delete elt (copy-sequence seq)))) 186 (delete elt (copy-sequence seq))))
187 187
188(defun remq (elt list) 188(defun remq (elt list)
189 "Return a copy of LIST with all occurences of ELT removed. 189 "Return a copy of LIST with all occurrences of ELT removed.
190The comparison is done with `eq'." 190The comparison is done with `eq'."
191 (if (memq elt list) 191 (if (memq elt list)
192 (delq elt (copy-sequence list)) 192 (delq elt (copy-sequence list))
@@ -244,7 +244,7 @@ Unibyte strings are converted to multibyte for comparison."
244 244
245(defun assoc-ignore-representation (key alist) 245(defun assoc-ignore-representation (key alist)
246 "Like `assoc', but ignores differences in text representation. 246 "Like `assoc', but ignores differences in text representation.
247KEY must be a string. 247KEY must be a string.
248Unibyte strings are converted to multibyte for comparison." 248Unibyte strings are converted to multibyte for comparison."
249 (let (element) 249 (let (element)
250 (while (and alist (not element)) 250 (while (and alist (not element))
@@ -291,7 +291,7 @@ but optional second arg NODIGITS non-nil treats them like other chars."
291 291
292;Moved to keymap.c 292;Moved to keymap.c
293;(defun copy-keymap (keymap) 293;(defun copy-keymap (keymap)
294; "Return a copy of KEYMAP" 294; "Return a copy of KEYMAP"
295; (while (not (keymapp keymap)) 295; (while (not (keymapp keymap))
296; (setq keymap (signal 'wrong-type-argument (list 'keymapp keymap)))) 296; (setq keymap (signal 'wrong-type-argument (list 'keymapp keymap))))
297; (if (vectorp keymap) 297; (if (vectorp keymap)
@@ -309,7 +309,7 @@ in KEYMAP as NEWDEF those keys which are defined as OLDDEF in OLDMAP."
309 ;; Don't document PREFIX in the doc string because we don't want to 309 ;; Don't document PREFIX in the doc string because we don't want to
310 ;; advertise it. It's meant for recursive calls only. Here's its 310 ;; advertise it. It's meant for recursive calls only. Here's its
311 ;; meaning 311 ;; meaning
312 312
313 ;; If optional argument PREFIX is specified, it should be a key 313 ;; If optional argument PREFIX is specified, it should be a key
314 ;; prefix, a string. Redefined bindings will then be bound to the 314 ;; prefix, a string. Redefined bindings will then be bound to the
315 ;; original key, with PREFIX added at the front. 315 ;; original key, with PREFIX added at the front.
@@ -503,7 +503,7 @@ and then modifies one entry in it."
503 (aset keyboard-translate-table from to)) 503 (aset keyboard-translate-table from to))
504 504
505 505
506;;;; The global keymap tree. 506;;;; The global keymap tree.
507 507
508;;; global-map, esc-map, and ctl-x-map have their values set up in 508;;; global-map, esc-map, and ctl-x-map have their values set up in
509;;; keymap.c; we just give them docstrings here. 509;;; keymap.c; we just give them docstrings here.
@@ -1041,7 +1041,7 @@ does not use these function."
1041(defun process-kill-without-query (process &optional flag) 1041(defun process-kill-without-query (process &optional flag)
1042 "Say no query needed if PROCESS is running when Emacs is exited. 1042 "Say no query needed if PROCESS is running when Emacs is exited.
1043Optional second argument if non-nil says to require a query. 1043Optional second argument if non-nil says to require a query.
1044Value is t if a query was formerly required. 1044Value is t if a query was formerly required.
1045New code should not use this function; use `process-query-on-exit-flag' 1045New code should not use this function; use `process-query-on-exit-flag'
1046or `set-process-query-on-exit-flag' instead." 1046or `set-process-query-on-exit-flag' instead."
1047 (let ((old (process-query-on-exit-flag process))) 1047 (let ((old (process-query-on-exit-flag process)))
@@ -1056,7 +1056,7 @@ or `set-process-query-on-exit-flag' instead."
1056Legitimate radix values are 8, 10 and 16.") 1056Legitimate radix values are 8, 10 and 16.")
1057 1057
1058(custom-declare-variable-early 1058(custom-declare-variable-early
1059 'read-quoted-char-radix 8 1059 'read-quoted-char-radix 8
1060 "*Radix for \\[quoted-insert] and other uses of `read-quoted-char'. 1060 "*Radix for \\[quoted-insert] and other uses of `read-quoted-char'.
1061Legitimate radix values are 8, 10 and 16." 1061Legitimate radix values are 8, 10 and 16."
1062 :type '(choice (const 8) (const 10) (const 16)) 1062 :type '(choice (const 8) (const 10) (const 16))
@@ -1247,7 +1247,7 @@ This finishes the change group by reverting all of its changes."
1247 (dolist (elt handle) 1247 (dolist (elt handle)
1248 (with-current-buffer (car elt) 1248 (with-current-buffer (car elt)
1249 (setq elt (cdr elt)) 1249 (setq elt (cdr elt))
1250 (let ((old-car 1250 (let ((old-car
1251 (if (consp elt) (car elt))) 1251 (if (consp elt) (car elt)))
1252 (old-cdr 1252 (old-cdr
1253 (if (consp elt) (cdr elt)))) 1253 (if (consp elt) (cdr elt))))
@@ -2172,7 +2172,7 @@ clone should be incorporated in the clone."
2172 ;; where the clone is reduced to the empty string (we want the overlay to 2172 ;; where the clone is reduced to the empty string (we want the overlay to
2173 ;; stay when the clone's content is the empty string and we want to use 2173 ;; stay when the clone's content is the empty string and we want to use
2174 ;; `evaporate' to make sure those overlays get deleted when needed). 2174 ;; `evaporate' to make sure those overlays get deleted when needed).
2175 ;; 2175 ;;
2176 (let* ((pt-end (+ (point) (- end start))) 2176 (let* ((pt-end (+ (point) (- end start)))
2177 (start-margin (if (or (not spreadp) (bobp) (<= start (point-min))) 2177 (start-margin (if (or (not spreadp) (bobp) (<= start (point-min)))
2178 0 1)) 2178 0 1))
@@ -2189,7 +2189,7 @@ clone should be incorporated in the clone."
2189 ;;(overlay-put ol1 'face 'underline) 2189 ;;(overlay-put ol1 'face 'underline)
2190 (overlay-put ol1 'evaporate t) 2190 (overlay-put ol1 'evaporate t)
2191 (overlay-put ol1 'text-clones dups) 2191 (overlay-put ol1 'text-clones dups)
2192 ;; 2192 ;;
2193 (overlay-put ol2 'modification-hooks '(text-clone-maintain)) 2193 (overlay-put ol2 'modification-hooks '(text-clone-maintain))
2194 (when spreadp (overlay-put ol2 'text-clone-spreadp t)) 2194 (when spreadp (overlay-put ol2 'text-clone-spreadp t))
2195 (when syntax (overlay-put ol2 'text-clone-syntax syntax)) 2195 (when syntax (overlay-put ol2 'text-clone-syntax syntax))