aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-11-10 19:48:46 -0800
committerGlenn Morris2010-11-10 19:48:46 -0800
commitb010e1bafc67c58eff793c24fea0d113fd03e23b (patch)
tree3f215aae435e80e527177c5a8b82442ee4a646d2
parentd226db8cfea69387f7120ad87a0e90f3513e5d31 (diff)
downloademacs-b010e1bafc67c58eff793c24fea0d113fd03e23b.tar.gz
emacs-b010e1bafc67c58eff793c24fea0d113fd03e23b.zip
Fix some ls-lisp oddness.
* lisp/ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/ls-lisp.el12
2 files changed, 13 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bcaa0494706..cefe89ab338 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-11-11 Glenn Morris <rgm@gnu.org>
2
3 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4
12010-11-10 Glenn Morris <rgm@gnu.org> 52010-11-10 Glenn Morris <rgm@gnu.org>
2 6
3 * printing.el (pr-menu-bind): Doc fix. 7 * printing.el (pr-menu-bind): Doc fix.
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index b01ad6f9510..c7023add59b 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -86,10 +86,16 @@ option will have no effect until you restart Emacs."
86 (const UNIX)) 86 (const UNIX))
87 :group 'ls-lisp) 87 :group 'ls-lisp)
88 88
89;; Only made an obsolete alias in 23.3. Before that, the initial
90;; value was set according to:
91;; (or (memq ls-lisp-emulation '(MS-Windows MacOS))
92;; (and (boundp 'ls-lisp-dired-ignore-case) ls-lisp-dired-ignore-case))
93;; Which isn't the right thing to do.
94(define-obsolete-variable-alias 'ls-lisp-dired-ignore-case
95 'ls-lisp-ignore-case "21.1")
96
89(defcustom ls-lisp-ignore-case 97(defcustom ls-lisp-ignore-case
90 ;; Name change for consistency with other option names. 98 (memq ls-lisp-emulation '(MS-Windows MacOS))
91 (or (memq ls-lisp-emulation '(MS-Windows MacOS))
92 (and (boundp 'ls-lisp-dired-ignore-case) ls-lisp-dired-ignore-case))
93 "Non-nil causes ls-lisp alphabetic sorting to ignore case." 99 "Non-nil causes ls-lisp alphabetic sorting to ignore case."
94 :type 'boolean 100 :type 'boolean
95 :group 'ls-lisp) 101 :group 'ls-lisp)