aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/dired-aux.el4
-rw-r--r--lisp/dired-x.el4
-rw-r--r--lisp/help-fns.el6
-rw-r--r--lisp/proced.el2
-rw-r--r--lisp/progmodes/f90.el4
-rw-r--r--lisp/ses.el4
-rw-r--r--lisp/tar-mode.el2
7 files changed, 13 insertions, 13 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index e4547758587..095ce8ba89c 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1399,7 +1399,7 @@ files matching `dired-omit-regexp'."
1399 ;; else try to find correct place to insert 1399 ;; else try to find correct place to insert
1400 (if (dired-goto-subdir directory) 1400 (if (dired-goto-subdir directory)
1401 (progn ;; unhide if necessary 1401 (progn ;; unhide if necessary
1402 (if (looking-at-p "\r") 1402 (if (= (following-char) ?\r)
1403 ;; Point is at end of subdir line. 1403 ;; Point is at end of subdir line.
1404 (dired-unhide-subdir)) 1404 (dired-unhide-subdir))
1405 ;; found - skip subdir and `total' line 1405 ;; found - skip subdir and `total' line
@@ -2639,7 +2639,7 @@ Lower levels are unaffected."
2639 (and selective-display 2639 (and selective-display
2640 (save-excursion 2640 (save-excursion
2641 (dired-goto-subdir dir) 2641 (dired-goto-subdir dir)
2642 (looking-at-p "\r")))) 2642 (= (following-char) ?\r))))
2643 2643
2644;;;###autoload 2644;;;###autoload
2645(defun dired-hide-subdir (arg) 2645(defun dired-hide-subdir (arg)
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 527685acf37..7ceb672bf2f 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -634,7 +634,7 @@ Optional fifth argument CASE-FOLD-P specifies the value of
634 (dired-mark-if 634 (dired-mark-if
635 (and 635 (and
636 ;; not already marked 636 ;; not already marked
637 (looking-at-p " ") 637 (= (following-char) ?\s)
638 ;; uninteresting 638 ;; uninteresting
639 (let ((fn (dired-get-filename localp t)) 639 (let ((fn (dired-get-filename localp t))
640 ;; Match patterns case-insensitively on case-insensitive 640 ;; Match patterns case-insensitively on case-insensitive
@@ -1530,7 +1530,7 @@ refer at all to the underlying file system. Contrast this with
1530 (setq mode (buffer-substring (point) (+ mode-len (point)))) 1530 (setq mode (buffer-substring (point) (+ mode-len (point))))
1531 (forward-char mode-len) 1531 (forward-char mode-len)
1532 ;; Skip any extended attributes marker ("." or "+"). 1532 ;; Skip any extended attributes marker ("." or "+").
1533 (or (looking-at " ") 1533 (or (= (following-char) ?\s)
1534 (forward-char 1)) 1534 (forward-char 1))
1535 (setq nlink (read (current-buffer))) 1535 (setq nlink (read (current-buffer)))
1536 ;; Karsten Wenger <kw@cis.uni-muenchen.de> fixed uid. 1536 ;; Karsten Wenger <kw@cis.uni-muenchen.de> fixed uid.
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 32324ae3bcb..f5d94d8419f 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1271,14 +1271,14 @@ BUFFER should be a buffer or a buffer name."
1271 (insert-file-contents file) 1271 (insert-file-contents file)
1272 (let (notfirst) 1272 (let (notfirst)
1273 (while (search-forward "" nil 'move) 1273 (while (search-forward "" nil 'move)
1274 (if (looking-at "S") 1274 (if (= (following-char) ?S)
1275 (delete-region (1- (point)) (line-end-position)) 1275 (delete-region (1- (point)) (line-end-position))
1276 (delete-char -1) 1276 (delete-char -1)
1277 (if notfirst 1277 (if notfirst
1278 (insert "\n.DE\n") 1278 (insert "\n.DE\n")
1279 (setq notfirst t)) 1279 (setq notfirst t))
1280 (insert "\n.SH ") 1280 (insert "\n.SH ")
1281 (insert (if (looking-at "F") "Function " "Variable ")) 1281 (insert (if (= (following-char) ?F) "Function " "Variable "))
1282 (delete-char 1) 1282 (delete-char 1)
1283 (forward-line 1) 1283 (forward-line 1)
1284 (insert ".DS L\n")))) 1284 (insert ".DS L\n"))))
@@ -1304,7 +1304,7 @@ BUFFER should be a buffer or a buffer name."
1304 (forward-char 1)) 1304 (forward-char 1))
1305 (goto-char (point-min)) 1305 (goto-char (point-min))
1306 (while (search-forward "" nil t) 1306 (while (search-forward "" nil t)
1307 (unless (looking-at "S") 1307 (when (/= (following-char) ?S)
1308 (setq type (char-after) 1308 (setq type (char-after)
1309 name (buffer-substring (1+ (point)) (line-end-position)) 1309 name (buffer-substring (1+ (point)) (line-end-position))
1310 doc (buffer-substring (line-beginning-position 2) 1310 doc (buffer-substring (line-beginning-position 2)
diff --git a/lisp/proced.el b/lisp/proced.el
index 0736ab09dc9..86d79689a49 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -767,7 +767,7 @@ The time interval for updates is specified via `proced-auto-update-interval'."
767 (while (not (eobp)) 767 (while (not (eobp))
768 (cond ((looking-at mark-re) 768 (cond ((looking-at mark-re)
769 (proced-insert-mark nil)) 769 (proced-insert-mark nil))
770 ((looking-at " ") 770 ((= (following-char) ?\s)
771 (proced-insert-mark t)) 771 (proced-insert-mark t))
772 (t 772 (t
773 (forward-line 1))))))) 773 (forward-line 1)))))))
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index b3661bfe3f1..49e072c65bd 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -1880,8 +1880,8 @@ after indenting."
1880 ;; FIXME This means f90-calculate-indent gives different answers 1880 ;; FIXME This means f90-calculate-indent gives different answers
1881 ;; for comments and preprocessor lines to this function. 1881 ;; for comments and preprocessor lines to this function.
1882 ;; Better to make f90-calculate-indent return the correct answer? 1882 ;; Better to make f90-calculate-indent return the correct answer?
1883 (cond ((looking-at "!") (setq indent (f90-comment-indent))) 1883 (cond ((= (following-char) ?!) (setq indent (f90-comment-indent)))
1884 ((looking-at "#") (setq indent 0)) 1884 ((= (following-char) ?#) (setq indent 0))
1885 (t 1885 (t
1886 (and f90-smart-end (looking-at "end") 1886 (and f90-smart-end (looking-at "end")
1887 (f90-match-end)) 1887 (f90-match-end))
diff --git a/lisp/ses.el b/lisp/ses.el
index 97bade380ec..741d588e4be 100644
--- a/lisp/ses.el
+++ b/lisp/ses.el
@@ -1880,7 +1880,7 @@ Does not execute cell formulas or print functions."
1880 (setq ses--numlocprn 0) 1880 (setq ses--numlocprn 0)
1881 (dotimes (_ numlocprn) 1881 (dotimes (_ numlocprn)
1882 (let ((x (read (current-buffer)))) 1882 (let ((x (read (current-buffer))))
1883 (or (and (looking-at-p "\n") 1883 (or (and (= (following-char) ?\n)
1884 (eq (car-safe x) 'ses-local-printer) 1884 (eq (car-safe x) 'ses-local-printer)
1885 (apply #'ses--local-printer (cdr x))) 1885 (apply #'ses--local-printer (cdr x)))
1886 (error "local printer-def error")) 1886 (error "local printer-def error"))
@@ -1890,7 +1890,7 @@ Does not execute cell formulas or print functions."
1890 (dotimes (col ses--numcols) 1890 (dotimes (col ses--numcols)
1891 (let* ((x (read (current-buffer))) 1891 (let* ((x (read (current-buffer)))
1892 (sym (car-safe (cdr-safe x)))) 1892 (sym (car-safe (cdr-safe x))))
1893 (or (and (looking-at-p "\n") 1893 (or (and (= (following-char) ?\n)
1894 (eq (car-safe x) 'ses-cell) 1894 (eq (car-safe x) 'ses-cell)
1895 (ses-create-cell-variable sym row col)) 1895 (ses-create-cell-variable sym row col))
1896 (error "Cell-def error")) 1896 (error "Cell-def error"))
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index f25b1a45ba1..1d453d2980e 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -1118,7 +1118,7 @@ for this to be permanent."
1118 (save-excursion 1118 (save-excursion
1119 (goto-char (point-min)) 1119 (goto-char (point-min))
1120 (while (not (eobp)) 1120 (while (not (eobp))
1121 (if (looking-at "D") 1121 (if (= (following-char) ?D)
1122 (progn (tar-expunge-internal) 1122 (progn (tar-expunge-internal)
1123 (setq n (1+ n))) 1123 (setq n (1+ n)))
1124 (forward-line 1))) 1124 (forward-line 1)))